Hi. How do I modify the magic_quotes_gpc option in the php.ini file? I used the pico editor and saved changes but for some reason, thos were not reflected. So how can I modify my php.ini file?
Printable View
Hi. How do I modify the magic_quotes_gpc option in the php.ini file? I used the pico editor and saved changes but for some reason, thos were not reflected. So how can I modify my php.ini file?
You should be able to edit the file just as you have described. Just make sure you have write access to the file (this will probably mean you'll need root access on the server), and that you're editing the right one (you might have several copies of php.ini, only one of which is actually used by your server). Finally, don't forget to restart your Web server (/etc/rc.d/init.d/httpd restart) after making changes so that they take effect.
yeah, i didnt restart it.