N
N
nikolau2018-07-05 15:26:56
Apache HTTP Server
nikolau, 2018-07-05 15:26:56

Write php_admin_value open_basedir = "E:\Websites;C:\PHP\includes" in multiple lines?

Is it possible to somehow write in the vhosts.conf config
php_admin_value open_basedir = "E:\Websites;C:\PHP\includes"
in several lines for readability?
Something like this:
php_admin_value open_basedir = "
E:\Websites;
C:\PHP\includes
"
(This doesn't work)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2018-07-05
@dodo512

httpd.apache.org/docs/2.4/configuring.html
A backslash " \ " can be used as the last character on a line to indicate that the directive continues onto the next line. There must be no other characters or spaces between the backslash and the end of the line.

php_admin_value open_basedir = "\
E:\Websites;\
C:\PHP\includes\
"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question