How to disable magic_quotes

You can modify different php settings for your account using a php.ini file. We recommend using our default php.ini file which is the most compatible with our servers and specially created to optimize the process of php values modification. You can learn how to find and edit php.ini on our shared and business servers here:

    How to edit php.ini file on shared servers with SuPHP/LSPHP module  
    How to edit php.ini on business servers with FastSGI module

To enable/disable magic_quotes, the following code should be added to your PHP.ini file:

magic_quotes_gpc = Off

Find the following section:

PHP_08_01.jpg

Put the required value: from On to Off, or Off to On in the required fields and click Save Changes.

If your account is hosted on a shared server, the suPHP/LSPHP configuration directive should be added to your .htaccess file to make these settings global for the entire account. You can find step-by-step instructions here.

If your account is located on a business server, no other modifications should be applied.


That's it!

              
                      Need any help? Contact our HelpDesk

Comments

We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close