Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

php.ini????


Guest

Recommended Posts

Posted

Hi,

 

I downloaded the zip file for the newest version. I tried to install it onto my server but it didnt seem to work. I placed the catolog folder into the a folder called "shop" on my server (running Windows Server 2003) but when i then went to

 

http://<mydomain>.org/shop/catolog/install/

 

I get the following error:

 

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

 

I spoke to my web host on the advice of a friend and asked them to enabe register_globals in php.ini.

 

Their reply is that php.ini is only a linux server thing and so they cant enable register_globals in it.

 

With my server i have access to a limited control panel and ability to upload to server etc. Any ideas as to how i install? I definetly downloaded the Windows pack.

Posted

If they don't have a php.ini on this server, even if it is Windows, then it means that they don't have php itself installed - in which case you won't be able to run osCommerce.

 

There is another alternative, one which people come across all too often unfortunately - that the 'support' department you are talking to don't know diddly!

 

Vger

Posted

copy the following into your top level root, saving it as phpinfo.php or test.php, your choice.

 

<?php phpinfo(); ?>

 

run the script, via http://yourdomain.org/phpinfo.php

 

then tell us what you get. if php is installed you will get a whole bunch of info.

Posted

hi,

I have exactly the same problem as GFUK. I have PHP 5 installed on my local machine which runs Apache Web server and mysql database server. I got the same problem when i was trying to install osCommerce on my machine.

 

My friend has PHP 4 on his machine and apparently it works fine on it. On further research i found out that PHP 5 has register_globals turned it off by default because of some security problems.

 

I tried turning the register_globals option ON in the php.ini file but still it doenst turn up. Do I have to revert back to the older version of php(which i dont want to :( ) or is there something else I have to do in the ini file?

 

Thanx in advance

Posted

ratish, do you have control over your php.ini file?

also with php5 you have to comment out an item, search for php5 here in the forum, you will find what needs to be done.

Posted

Damn, i rang my host and asked them in person than email. They said they DO have a php.ini as php is installed on the server (my whole site is php and runs fine) but they refuse to enable it as its company policy only to enable it on linux servers. I could move but loose ability to run my ASP pages!!!

 

Fasthosts.com

 

Prices are good but very limited as to what you can do with the server itself!

Archived

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

×
×
  • Create New...