php_value magic_quotes_gpc off
::: IF THAT DOES NOT WORK, please try the following:
Your default php.ini file exists for each cPanel account in your public_html folder. To edit the magic_quotes settings, you will first want to open your cpanel, navigate to the public_html folder using the File Manager, and then edit the php.ini file.
From there, look for the following lines:
; Magic quotes for incoming GET/POST/Cookie data.
;magic_quotes_gpc = On
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off
; Use Sybase-style magic quotes (escape ' with '' instead of \').
magic_quotes_sybase = Off
Ensure they are all set to Off and save the file. This will disable the magic_quotes for that domain. If you wish to use the same php.ini settings for all folders under the public_html folder, you will need to set the php.ini file to be recursive.
-----------------------------------------------
Making your php.ini file affect all child folders as well is referred to as making the file "recursive". To make your public_html/php.ini file recursive, edit (or create the file if it doesn't exist) your public_html/.htaccess file and add the following code:
suPHP_ConfigPath /home/username/public_html
This line you entered is specifying the directory where the php.ini is located that you want to make recursive. Be sure to replace username with your cPanel username.
This change is immediate, so you should see the update right away.