Please Provide Your Feedback. Close

Quick Contact

 

Verification

Please Provide Your Detail Information. Close

Verification

How to turn off magic quotes gpc ? « Web Design company India | Magento E-commerce Professionals & Prestashop Web Developers India
Request A Quote

How to turn off magic quotes gpc ?

How to turn off magic quotes gpc?

For MAMP

Steps:
Go to MAMP application >> Preferences (button) >> PHP (tab) >> Choose 5.3.1 or greater >> choose OK.
Go to the MAMP folder >> bin >> php >> php5.3.6 >> conf >> edit php.ini >> add “magic_quotes_gpc = Off” a few lines above “magic_quotes_sybase = Off”.
Restart MAMP’s servers.

For Shared hosting companies running a CGI-Webinterface

Steps:
Create a php.ini file with the following:
magic_quotes_gpc = Off

Put it in your Webfolder. Then add the following lines to the .htaccess file (at the top) :

suPHP_ConfigPath /home/yourusername/public_html/yourfolder

order allow,deny
deny from all

Change “yourusername” and “yourfolder” to your respective folders.
give 755 Permission to your. .htaccess file.

For some hosts, add “php_flag magic_quotes_gpc off” to the .htaccess file.

Comments are closed.