Hi everyone
Despite searching the web a lot, i can't find a reason why i am unable to set the PHP config for magic_quotes_gpc in Nginx vhost config file. I've used the same format previously for other vars which worked fine but this one doesn't, any ideas:
fastcgi_param php_value "magic_quotes_gpc=On";
I have tried loads of variants e.g. php_flag/php_admin_flag, 1/On etc but no luck.
I need to do this as 2 different apps on my server mandate magic quotes GPC off/on. My workaround is to try PHP-FPM pools which i will try if i can't get this to work.
My setup is:
Debian 6 (squeeze)
Nginx 1.2.0 (from apt)
PHP-FPM 5.3.11 (dotdeb, with suhosin & xcache)
I have checked and suhosin is not the problem as this still doesn't work when it's disabled.
Any suggestions would be very welcome, even if it just rules out Nginx as the issue.
Many thanks