Search Engine: Elastic

Article ID: 117690, created on Oct 3, 2013, last review on Sep 10, 2014

  • Applies to:
  • Operations Automation


The Provider wants to turn off the 'magic_quotes_gpc' capability of PHP.

If that parameter is turned on, PHP interpreter will automatically add "\" to any special symbols (',",\, NULL) Basically, PHP scripts should contain "\" before special symbols, and this parameter could cause conflicts with double "\". Therefore the Provider wants to turn off "magic_quotes_gpc" on POA-managed shared hosting servers.

Refer to the PHP website for more information:


Disable the 'magic_quotes_gpc' in the Apache configuration which is assigned to the required shared hosting servers:

  1. Log into the POA Provider Control Panel
  2. Go to Service Director > Shared Hosting Manager > Apache Configuration
  3. Click on the required Apache configuration
  4. Switch to the PHP Configuration > Resource Limits tab
  5. Set the magic_quotes_gpc parameter to Off.

The magic_quotes_gpc parameter is not applied to NG Shared Hosting servers if PHP 5.3 or higher is installed there, refer to the Parallels Knowledgebase article #116178 for more details.

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF