Support Center » Knowledgebase » FATAL ERROR: register_globals is disabled in php.ini
 FATAL ERROR: register_globals is disabled in php.ini
Solution Question: I have download the package and upload in on server, but when i want to install it, it say: FATAL ERROR: register_globals is disabled in php.ini, please enable it!

How to fix or in which file fix that?

Answer:
Most server have register_globals turned off for security reasons. The .htaccess file included in your store files will tell the server to ignore register_globals being disabled. But on a few hosting servers you actually need to add an additional php.ini file to each directoery your receive this error, which usually is in the catalog directory, install and admin directories.

How to create php.ini file? create a file called php.ini and add the following code to it:

register_globals = on
allow_url_fopen = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
rg_emulation=off


This works 99% of the time but still will not work on some servers. If this is the case you should change to a CRE Loaded Certified Hosting company like
LEVEL TEN HOSTING


Article Details
Article ID: 432
Created On: 22 Feb 2009 07:21 PM

 This answer was helpful  This answer was not helpful

 Back
 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
Home | Register | Submit a Ticket | Knowledgebase | Downloads
Language: