Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By ubuntu277 on
I am trying to install Drupal 7.19 on Networks Solutions and ran into this error:
Web server Apache/2.2.22 (Unix) FrontPage/5.0.2.2635
PHP 5.3.8
Error
PHP register globals Enabled ('1')
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.
Any suggestion?
Comments
-
Try this first.
Place below code at top of htaccess file and then try install again.
AddType application/x-httpd-php53 .php
Thanks mhebb. I tried adding
Thanks mhebb. I tried adding that line of code into the .htaccess file, but it still gives me the same error message.
I have another Drupal web folder installed successfully using the add-in from Network Solutions. Only the Drupal folder that I uploaded manually is giving me trouble.
Disable register_globals with php.ini
This may be a little late, but I was doing some research about hosting a D7 site on Network Solutions (consensus is: Don't, if you can avoid it... but I have a client who wants to...).
There's a decent write-up here:
http://carnevaledesign.com/blog/2011/08/12/drupal-7-network-solutions-shared-hosting-register-globals
Essentially, there should be a way for you add a php.ini file for your hosted environment that can disable that setting.
-dave.
htaccess for php value
Put this in your root folder's .htaccess file at the top and see if it helps.
php_value register_globals off