Error: register_globals is disabled in your PHP

If you installed a new script and are getting the 500 error trying to load the page please see this document first as you might need to turn register globals on. The syntax generally follows this format: phpconfigValueToOverride = value. The most common PHP value you need to set for many of the scripts that we offer via fantastico is register_globals. To enable register_globals you simply place this in your php.ini file: register_globals = On. Conversely, you can turn off register globals: register_globals = Off.

- Login to your cPanel account by going to www.yourdomain.com/cpanel.
- Click on the 'File Manager' feature under 'Site Management' menu
- Select the public_html folder icon and navigate to the folder that you installed the software to.
- Click 'New File' and then type php.ini, click 'Create new file'.
- The file should now show up in the list of files, click on the name of the file, then click 'edit' on the top right menu and copy and paste the following line into the text file: register_globals = On
- Click save and you should now be able to refresh your webpage

Was this answer helpful?

 Print this Article

Also Read

custom php.ini

PHP Selector allows customer to edit php.ini settings. Admin has a full control over which...

Do I use localhost or remotemysqlhost for my mysql connection ?

You can view whether your account is using localhost or remotemysql host in your cPanel...

How to flush DNS cache in my PC?

How to flush DNS cache in Linux / Windows / Mac Flush dns to get a new name resolution. Also...

What is phpSuExec?

phpSuExec (pronounced sue-eksek) is a more secure environment for PHP. All of our shared servers...

Is PHP compiled with 'enable-calendar'?

Web Calendar is available to install under 'Other Services' in the 'Fantastico' feature under the...