Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

php.ini error on Unix install?


Guest

Recommended Posts

Posted

Hey, I just downloaded the build from 11/22/02, and have attempted to install it. I'm getting the error:

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

 

There's two problems with this:

1. *.ini? Isn't that Windows terminology? php.config is more likely, right? I don't know enough about php to tell, but in general, I'm used to seeing ini files when I'm on Windows machines... do I really need to be looking for a php.ini?

 

2. This isn't my server (*groan*), and I may not be able to change a file at the / level - or any level below the user level. Is there some way to override the settings for my user?

 

:?

Cat

Posted

php.ini is in Unix systems. It's in the /etc directory in Red Hat distributions. You could call up your ISP Admin and ask if he'll change it. Or, you could try creating an .htaccess in either the /catalog or the /admin directory (I'm not sure which) and add this line:

 

php_flag register_globals on

 

That might work.

Posted

didn't work. :( I did the <?php info(); ?> thing, and it returned all sorts of things, but didn't even mention register_globals. Which was odd; because it mentioned other things that were off.

 

Well, darnnit. I didn't get this error with 2.1... any other suggestions?

 

 

 

:cry:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...