Resolved Your host needs to disable magic_quotes_gpc to run this version of Joomla

In the Joomla 3 once you setup the server on live website then once you will start browsing the admin section of the website by just typing http://www.yourweb.com/administrator . You might see the error “Your host needs to disable magic_quotes_gpc to run this version of Joomla! “.

Why you get the error “Your host needs to disable magic_quotes_gpc to run this version of Joomla!

This error comes if magic_quotes_gpc is enabled on your web server because it was already got enabled on some servers and after PHP 5.4 its been removed so there is no need for it.

How to resolve error “Your host needs to disable magic_quotes_gpc to run this version of Joomla!“.

By removing error through .htaccess

Don’t try for it !! it wouldn’t work

Resolving error by creating php5.ini (make sure you are using php5 based server)

Create a new file named php5.ini (make sure its extension should be .ini only) and write below code into it.

magic_quotes_gpc=”0″;

magic_quotes_runtime = Off;

magic_quotes_sybase = Off;

zend_extension=/usr/local/php53/lib/php/extensions/ioncube.so;

zend_extension=/usr/local/php53/lib/php/extensions/ZendOptimizer.so;

make sure you end the line with ; only.

Upload this php5.ini file to your website’s root directory.

 

Related posts:

The following two tabs change content below.

Chandra Shekhar

GCP Architect
Chandra Shekhar Pandey is Google certified Cloud engineer, I am Magento2 Trained developer. Having huge experience in designing cloud solution. I have around 12 years of experience with world enterprise IT companies and fortune 500 clients. During my architecture design I am always caring about high availability, fast performance and resilient system. From the programmer background I have huge experience in LAMP stack as well. Throughout my carrier I have worked on Retail, E-Learning, Video... Read More about Chandra Shekhar

Latest posts by Chandra Shekhar (see all)