OsCommerce register_globals error

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. There should already be an .htaccess in there, and you should just have to comment out these lines (may vary per version)

php_value register_globals 1

If you are on a PHP 5 server, you should change mod_php4.c to mod_php5.c. If you do not have an .htaccess in your OsCommerce directory, you can simply create one and insert the above lines.

Carrie Smaha
Carrie Smaha Senior Manager Marketing Operations

Carrie enjoys working on demand generation and product marketing projects that tap into multi-touch campaign design, technical SEO, content marketing, software design, and business operations.

More Articles by Carrie

0 thoughts on “OsCommerce register_globals error

  1. Hi 

    I have question like how to change mod_php 4.c to mod_php5.c 

    Can you please give me steps or file location

    Thanks

Was this article helpful? Join the conversation!

Questions about our MailChannels Deployment? We have answers and are here to help!Learn More
+