I am getting the following error as try to intall Drupal:

"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. (Currently using PHP register globals Enabled ('1'))"

but when i open the htaccess file and it lists:

0 php_value register_globals 0

How do I get this corrected?

I am using Yahoo as my host

Thank you in advance for any help

Comments

hualahyja@drupal.org’s picture

Which webserver they're running on? .htaccess is for Apache webserver, which I suppose other servers do not accept.
So if it's webserver other than Apache, you should do this setting the way the webserver will understand.

I don't know much of IIS, but if your hosting is running on Apache webserver, then
it is possible, that your host provider has forced the register globals php setting to be 1.
Maybe you could try to contact the provider.

Cory Goodwin’s picture

My first guess is that your server is running PHP4 instead of PHP5. You can check by creating a file, phpinfo.php and cut and paste this code into it.

<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>

Upload it to your server and call in up in the browser. If you are running PHP4 then contact yahoo about upgrading your account to run PHP5.

cuda’s picture

PHP built On: FreeBSD hostingprod.com 4.11-YAHOO-20061130 FreeBSD 4.11-YAHOO-20061130 #0: i386
Database Version: 4.1.14
PHP Version: 4.3.11
Web Server: Apache/1.3.37 (Unix) FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
WebServer to PHP interface: cgi-fcgi

cuda’s picture

Ihave tried contacting the but they won't do anything about it, Here;s what they told me:

"We understand that you would like to modify the php.ini config file for

your account.

We're sorry, the feature you are mentioning is not currently available
through Yahoo! Web Hosting and we do not have an estimated date as to
when or if it will be available. However, we'll pass your comments on
to
our Development team for further consideration.

We are always looking for ways to make Yahoo! Web Hosting more useful
to
our users, and we will be sure to keep your question in mind as we
continue to make improvements to our service."

peeds’s picture

I got a similar email reply from Yahoo. After that, I also called them up and told them that I am pretty much stuck due to this. Also told them that there is a lot of discussion about this issue on the net and several users have moved away from Yahoo to other hosting services. They say that they will make this high-priority, but I would like to hear from people in this forum if this is something Yahoo could fix easily, or could it be a tricky fix that could potentially break other things on Yahoo hosts?