Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do I find /modify php.ini


weasal

Recommended Posts

I am in the process of installing osCommerce but having some problems.

 

Initially I followed instructions and changed the configure.php files to 777

but the error I initially got was

 

_______________

 

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

_______________

 

 

I then did some research and modified some php files according to a contibution by Richard Bentley which I followed and re-installed

 

http://www.oscommerce.com/community/contri.../search,bentley

 

SO...

 

I can now reach the install screen with no fatal error (at last!) but I haven't been able to do the last thing which is to disable the register_globals option in php.ini

 

BUT NOW I am getting a permissions error...

 

_______________

 

A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

_______________

 

According to the contribution README I need to edit php.ini

 

My question is - where do I find this file and how do I modify it?

 

I am totally new to PHP files having been brought up on html - Sorry!!!

Link to comment
Share on other sites

I am in the process of installing osCommerce but having some problems.

 

Initially I followed instructions and changed the configure.php files to 777

but the error I initially got was

 

_______________

 

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

_______________

I then did some research and modified some php files according to a contibution by Richard Bentley which I followed and re-installed

 

http://www.oscommerce.com/community/contri.../search,bentley

 

SO...

 

I can now reach the install screen with no fatal error (at last!) but I haven't been able to do the last thing which is to disable the register_globals option in php.ini

 

BUT NOW I am getting a permissions error...

 

_______________

 

A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again.

_______________

 

According to the contribution README I need to edit php.ini

 

My question is - where do I find this file and how do I modify it?

 

I am totally new to PHP files having been brought up on html - Sorry!!!

If you are running a windows server look in c:\WINDOWS\php.ini

search for register_globals = on

then reset it to

Set to register_globals = off

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

if you are on a shared server then your host is the one who controls that, thus you may need to install the register_globals contribution

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...