Magic quotes and ini_set

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Rubio

Magic quotes and ini_set

Post by Rubio »

Forgive my English
I'm trying to install MS on a new hosting, but during installation I get

"Magic quotes running ON"

This does not allow me to continue.
Not being able to intervene in php.ini, I was told to use ini_set, but I do not know how can you help me?


THANKS
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: Magic quotes and ini_set

Post by spcherub »

If you cannot edit php.ini, but can edit the .htaccess file, you can try adding the following to the top of the file:

Code: Select all

php_flag magic_quotes_gpc off
If this does not work (or your server throws an error), you can look at this page for more options. Depending on your version of PHP you may or may not be able to set this parameter via ini_set()
http://php.net/manual/en/security.magic ... abling.php

Hope this helps.
-S
Locked

Return to “[locked] Installation, Setup and Upgrade”