Monday, May 24, 2010

cPanel/WHM magic_quote_gpc

I don't exactly know, why the magic_quotes_gpc is turned On by default in cPanel/WHM even for PHP 5.3.2 when it has been deprecated from PHP 5.3.0. And you can't even turn them off from WHM.

To globally turn off the thing (which is what you should do), you will have to login as root, edit the /usr/lib/php.ini, find magic_quotes_gpc and set it to Off.

No comments: