Uberbot Posted April 7, 2007 Posted April 7, 2007 Hi all. When I try to initially log into my new osCommerse site at hostname/catalog/install, I get this error message: 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. So, I went and did a find for all of the php.ini files and came up with: /etc/php/apache2-php5/php.ini /etc/php/cli-php5/php.ini In each one, I modified the line register_globals = Off to register_globals = On But I'm still getting the same error message in my web browser. How do I fix this? TIA, Mike.
Knautschi Posted April 7, 2007 Posted April 7, 2007 Hi Uberbot, First off, im completly new to all of the stuff here, so im not any professional or whatsoever :) Im currently using Apache 2.2, php 4.4.6. and the newest osCommerce (trying too;)) But as i had the exact same error last night, and got it solved quite easily, i thought i post it here. As i said, i received the same error, and therefore i also put the register_globals = on in every imaginable php.ini file i found, but it did not solve my misery. But i remembered then the command "PHPIniDir = %PathToPHP.INI" thing which i had to enter in my apache httpd.conf, and checked this one up. And of course it was wrong. Changing it then to the right path, pointing to my actual php.ini, solved this problem then for me. Maybe this might help you too
Uberbot Posted April 8, 2007 Author Posted April 8, 2007 That did it! Seems that the "=" wasn't needed/wanted, but once I put this line in my config file and restarted, it stood up like a champ! Thank you. Mike. Hi Uberbot, First off, im completly new to all of the stuff here, so im not any professional or whatsoever :) Im currently using Apache 2.2, php 4.4.6. and the newest osCommerce (trying too;)) But as i had the exact same error last night, and got it solved quite easily, i thought i post it here. As i said, i received the same error, and therefore i also put the register_globals = on in every imaginable php.ini file i found, but it did not solve my misery. But i remembered then the command "PHPIniDir = %PathToPHP.INI" thing which i had to enter in my apache httpd.conf, and checked this one up. And of course it was wrong. Changing it then to the right path, pointing to my actual php.ini, solved this problem then for me. Maybe this might help you too
Recommended Posts
Archived
This topic is now archived and is closed to further replies.