When installing OsCommerce for the first time you may receive this error:

Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.

To enable register_globals for your account, you will need to edit the .htaccess file in your OsCommerce root directory.  Open your .htaccess file (it is a hidden file in your public_html folder) and comment out this line:

php_value register_globals 1

To comment out a line just put a # sign before it, example:

#php_value register_globals 1

Also, you will want to change mod_php4.c to mod_php5.c.  If you have made these changes and are still receiving the error message, please contact our support team and they will be happy to assist you further.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Did you find this article helpful?

Comments

n/a Points
2016-01-13 5:30 am

I am newbie. When I am integtating multistore_v2.1 add on with oscommerce2.3.4 then i am getting this error Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.I have followed all the above  steps, even placed php ini and .htaccess file in  catalog,admin and install folder. i am still getting this error Thanks in advance

Staff
15,316 Points
2016-01-13 1:32 pm
Hello Gaurav,

Sorry to hear that you're having problems with the Server Requirement Error: register_globals is disabled in your PHP configuration. You should be able to fix this by enabling the option in your PHP.INI file. It sounds like you did do this, but most likely in a PHP.INI file that is not applying to your osCommerce installation. You need to make sure that you modify the PHP.INI that is in the root of your osCommerce installation. If you want to make change to the PHP.INI file that is at the root of your web server, you can also make that file apply to ALL of your folders by making it recursive. The instructions for modifying your php.ini and .htaccess files are the links I have provided. I hope this helps to answer your question, please let us know if you require any further assistance.

Regards,
Arnel C.

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.