Setting magic_quotes_gpc to on in NGINX with PHP-FPM does not work
For some reason I cannot change the setting on magic_quotes_gpc to on.
In ISPConfig 3.0.4 latest stable version I go to Websites - Select the website to configure Go to Options page and in Custom php.ini settings I insert
magic_quotes_gpc = on
The full text for this section is
; Defines the default timezone used by the date functions date.timezone = Europe/Athens
; prevent common attacks register_globals = off allow_url_fopen = off safe_mode = off magic_quotes_gpc = on
; disable dangerous PHP functions disable_functions = show_source, system, shell_exec, passthru, exec, popen, proc_open, phpinfo
;define the folder for protected files upload_tmp_dir=/var/www/clients/client15/web14/tmp/
suhosin.get.max_name_length = 250 suhosin.post.max_name_length = 250 suhosin.request.max_varname_length = 250
But the web14.conf in folder /etc/php5/fpm/pool.d always has php_admin_flag[magic_quotes_gpc] = off
When I change the above line to php_admin_flag[magic_quotes_gpc] = on and restart php-fpm then the setting is applied.
But this is untill the next configuration change.
Can you please look at it?
Thank you in advance,
Panos.