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.

 

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 Conferencing and social media domain. The motive of creating cutehits was just to share the knowledge/solutions I get to know during my day to day life so that if possible I can help someone for same problems/solutions. CuteHits.com is a really a very effort for sharing knowledge to rest of the world. For any query/suggestion about same you can contact me on below details:- Email: shekharmca2005 at gmail.com Phone: +91-9560201363

Latest posts by Chandra Shekhar (see all)

You may also like...