The magic_quotes_gpc directive can be disabled by adding this line to your .htaccess file in the directory, where you want the magic_quotes disabled.
To disable it, open the .htaccess file using the File Editor. If the file is not present in the public_html folder of your website, create it.
Next, add the following line:
php_flag magic_quotes_gpc off
Once done, click on Save to apply the changes.