In a shared hosting environment with cpanel access?

Can't install Drupal because register_globals is enabled?

Spent hours fooling with poorly understood configuration options in php.ini and .htaccess? (I know I did).

Then I read a post on my host's support forum pointing out the php.ini QuickConfig app in the Software / Services section of cpanel.

Run the app, set the options you want, and bing bam boom, you're done.

I just wanted to spread the word!

Comments

profjk’s picture

antlib’s picture

Been swearing at my PC over this since yesterday so thanks for the tip!

DocMartin’s picture

Merits adding to Drupal's info in how to turn off register_globals, I think.

Tho not sure how good to be on a server that has register_globals mostly on.

____________________________
DocMartin and Hong Kong Outdoors

samygo’s picture

Hi,

I had a shared webhost with register_globals on
I just added this line in the beginning of the .htaccess (root folder of drupal install):

SetEnv REGISTER_GLOBALS 0

It worked for me

a6hiji7’s picture

Thanks a lot, you saved my day :)