Support Center > Knowledgebase > DirectAdmin > Apache Related Information > PHP > How to disable magic-quotes
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:
--enable-magic-quotes
and recompile php.
Also Read