Apache lets you set php.ini values for virtual hosts with the php_value directive.
Does nginx have something similar? Is there another way to set the include_path on a per-site basis?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Now, it is possible to do this way:
More information here:
http://bugs.php.net/bug.php?id=51595
Using this technique to set php values, I have successfully set different “error_log” locations for multiple virtual hosts.
Thanks, PHP and NginX guys!