HostSEO Blog

Stories and News from IT Industry, Reviews & Tips | Technology Blog

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 LSPHP module  
    How to edit php.ini on business servers with Litespeed 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:


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 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


Subscribe Now

10,000 successful online businessmen like to have our content directly delivered to their inbox. Subscribe to our newsletter!

Archive Calendar


Born in 2004 ... Trusted By Clients n' Experts

SEO Stars

They never made me feel silly for asking questions. Help me understand how to attract more people and improve my search engine ranking.

Read More

Emily Schneller Manager at Sabre Inc
SEO Stars

Took advantage of Hostseo's superb tech support and I must say, it is a very perfect one. It is very fast, servers reliability is incredible.

Read More

Leena Mäkinen Creative producer
SEO Stars

We're operating a worldwide network of servers with high quality standards requirements, we’ve choose hostseo to be our perfect partner.

Read More

Ziff Davis CEO at Mashable
SEO Stars

It’s very comfortable to know I can rely about all technical issues on Hostseo and mostly that my website and emails are safe and secured here.

Read More

Isaac H. Entrepreneur
SEO Stars

With hostseo as a hosting partner we are more flexible and save money due to the better packages with great pricing, free SEO n' free SSL too!

Read More

Madeline E. Internet Professional