I’ve set magic_quotes_gpc = Off in php.ini,but I see it’s still On in phpinfo();
I’ve set magic_quotes_gpc = Off in php.ini ,but I see it’s still On in
Share
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.
First of all, you must be sure you modified the right
php.inifile : there can be many files calledphp.ini— and only one is “the right one“.You can see which
php.inifile is used in the output ofphpinfo(): there should be an entry calledConfiguration File (php.ini) Paththat indicates the directory in whichphp.iniis looked for, and an entry calledLoaded Configuration Filethat indicates the full path+name of thephp.inifile that’s used.Then : don’t forget to restart the webserver, so the modifications to
php.iniare taken into account (Not sure that’s necessary with IIS, but as it’s required with Apache, I suppose it cannot hurt with IIS)If that doesn’t change a thing : what if you try to modify another directive : is the modification taken into account ?