Add to Favourites Add to Favourites    Print this Article Print this Article

How to disable magic-quotes

If you need to disable magic quotes, the easiest way is to edit your php.ini and set:

magic_quotes_gpc = Off

and then restart apache.

Another way is to edit your php configure file and remove the line:


and recompile php.

Was this answer helpful?

Also Read