I've just uploaded a drupal 5.7 site from Apache on my PC to the hosting company.

After much fiddling around, it's nearly working.

The only problem is that the status report says "register_globals is enabled. Drupal requires this configuration directive to be disabled. "

But if I uncomment

# php_value register_globals 0

..in .htaccess then I get an error from Apache:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

I think I need to ask the hosting company to do something - do I need to ask them to turn off register_globals for me? Or somethign else?

In fact I have to comment out all these lines to get drupal to work:
##Options -Indexes

# Follow symbolic links in this directory.
##Options +FollowSymLinks

# Customized error messages.
##ErrorDocument 404 /index.php

# Set the default handler.
##DirectoryIndex index.php

# Override PHP settings. More in sites/default/settings.php
# but the following cannot be changed at runtime.

# PHP 4, Apache 1.
# it's this one

# php_value magic_quotes_gpc 0
# php_value register_globals 0
# php_value session.auto_start 0
# php_value mbstring.http_input pass
# php_value mbstring.http_output pass
# php_value mbstring.encoding_translation 0

Thanks!

Comments

ctsrutland’s picture

Ignore that.. I've answered my own question again!

I found a 'disable register_globals' option buried on the host's config screens, which has worked.

jumonjii’s picture

I'm just curious... was this part of their phpinfo or somewhere else?

Was their register globals already off?