Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help enabling php!


tarnage

Recommended Posts

Posted

If you have shared hosting, you probably have to get your hosting provider to turn it on for you.

 

Peter

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Posted

This is not actually about enabling PHP, as PHP is already enabled. However, it is running with a feature called Register Globals turned off in the php.ini file.

 

With shared hosting you won't, most times, have access to a 'local' php.ini file, but sometimes you will - so have a look around in all the folders you can access via FTP to see if you can find a local php.ini file.

 

Your hosting company will not enable Register Globals in the server's php.ini file.

 

If the server is Apache based then you can put this code into a .htaccess file in the root of your web:

php_flag register_globals on

 

If the server is a Windows server then you'd have to install the Register Globals Patch by Richard Bentley, from the Contributions area - but as most osCommerce Contributions won't work with Register Globals off the best advice is to change hosts to one which runs with Register Globals on.

 

Vger

Archived

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

×
×
  • Create New...