Custom settings with PHP on Nginx
Posted
by
miki
on Server Fault
See other posts from Server Fault
or by miki
Published on 2012-09-27T19:28:40Z
Indexed on
2012/09/27
21:40 UTC
Read the original article
Hit count: 191
I have multiple websites setup using Nginx and Apache, but when I try to add a vhost based PHP directive using fastcgi_param PHP_VALUE , the value get added to all of my vhosts. Checking the value of the PHP parameter from PHP-CLI remain the actual one for whole server. e.g.
I used fastcgi_param PHP_VALUE "memory_limit=512M" for a domain based nginx config, but it will be propagated to all domains on server. The 'php -i | grep memory_limit' show 128M though
Not sure what I am missing
© Server Fault or respective owner