Portal Home > Knowledgebase > PHP Register Global On Off register_globals - 500 Internal Server Error
PHP Register Global On Off register_globals - 500 Internal Server Error
| This is a htaccess issue.
The scripts requires Register_Globals to be on.
If the command php_flag register_globals on is giving 500 Internal server error then your hosting configuration needs a different line of command, possibly one of these:
php_flag register_globals = 1 php_flag register_globals 1 php_flag register_globals on php_flag register_globals = on Register_Globals = on Register_Globals on Register_Globals = 1
If your hosting doesnot allow htaccess commands, you can create a php.ini file using notepad with one of the above command in it and upload in root directory. You can also try to rename to php5.ini or php4.ini depending on your PHP version. Again if you donot want to do all these, you can just call your hosting company and ask them for the command required to turn on REGISTER GLOBALS.
|
Add to Favourites
Print this Article
|