How to turn off magic quotes in PHP configuration file? I am using XAMPP

Steven picture Steven · Nov 17, 2009 · Viewed 8.1k times · Source

What is the file? I have php.ini and php.ini-dist on my computer.

Answer

Tim picture Tim · Nov 17, 2009

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