By jan.swanwick on
Hi,
I'm having problems with the error "register_globals is enabled" on a shared server
I've read the posts and created a php.ini file with the lines
[PHP]
register_globals = OFF
and then added
memory_limit = 16M
No joy.....
I've added the line
php_flag register_globals 0
to my .htaccess file
All still no joy and now I'm stuck. Can anyone please help?
Comments
Correct folder?
I also am on a shared server, did you place the php.ini into the physical server root folder or the virtual folder that your site actually POINTS to, because you need it inside the root folder your site is pathed to.
Hi, Thanks, the php.ini was
Hi,
Thanks, the php.ini was in the same folder as appears to be the root of the web pages, and I have also put one in the root of the filesystem, and one in the includes directory. All with no joy.
Is there a way to bypass the check in the install script?
Regards
same problem here
I ran into this problem too. As a newbie, it kind of is putting me off now.
SOLVED!
I solved the problem. (Found the solution here. Thanks y'all). At the root of your site. (public_html) or the subdomain, create a file called php.ini
Type the following in the file and save:
set register_globals = Off
Thats all. Run the install script again.
Didn't work for me :-(
Hi,
I tried that, I even cut and pasted your text in case I typed it wrong , but still no joy.
It must be my Hosting site, I tried my ISP webspace and that didn't work at all.
I'd really prefer to use Drupal over the other CMS packages, but it looks as if I have no option but to give up for the present.
Regards
Jan
What type of file do you
What type of file do you create? I'm being given these options: Text Document, HTML Document, Perl Script, Shell Script.
(I'm also a newbie, having the same problem)
Hi Jan,
I come across the same error when I install Drupal in shared hosting server. I created the php.ini file and uploaded in the root fold of my site but it doesn't work at the first place.
I have installed Drupal in a submain so I tried to move the php.ini in the root of the submain root-it works.
It works for me too. Create
It works for me too. Create php.ini that has the following script.
<? php set register_globals = Off ?>
(Remember to save it as a .ini file)
Lastly, upload the file in the same directory where Drupal is installed. (For e.g. domain_name.com/drupal)