What is the file? I have php.ini and php.ini-dist on my computer.
Asked
Active
Viewed 8,269 times
1 Answers
3
php.ini-dist is the sample config file that comes with PHP, php.ini is the live config so you will need to set in this file
magic_quotes_gpc = off
magic_quotes_runtime = off
magic_quotes_sybase = off

Tim
- 812
- 2
- 11
- 22
-
Depending our your configuration, you'll also most likely need to restart your webserver for these changes to take effect. :-) – John Parker Nov 17 '09 at 12:04
-
I changed the three equations to "off" and I restarted my web server, but the change doesn't take effect. – Steven Nov 17 '09 at 12:19
-
OK, it sounds like you'll need to check that PHP is reading the ini file you've updated. Simply output a page with on it and this will list both the ini file in use and the magic quotes related settings. – John Parker Nov 17 '09 at 12:54
-
Good suggestion. Thank Middaparka and Tim. – Steven Nov 18 '09 at 04:25