Enabling register globals in subdirectories


I currently use godaddy to host a few of my sites.  I was running php 4.3.11 and really wanted to upgrade to 5.2.5. 

When I switched over, by default, go daddy disables register_globals, so you have to either define for register_globals to be enabled in your php.ini file or your .htaccess file. 

I chose the former, the php.ini file and accomplished it in two steps. 

Step One: Be sure that your php.ini file contains the text below.

register_globals = on

Step Two: Rename your php.ini file to php5.ini

If you only need for register globals to be enabled in a subirectory and not the entire root, then only place the php5.ini file in that sub directory.

That is it. You are done.

1 Comment

Filed under Computer - Technical

One response to “Enabling register globals in subdirectories

  1. 123123123123123123123123123123123123123

Comment on this

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s