Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP 5


petervanessa

Recommended Posts

osCommerce is not forward compatible with PHP 5 :huh:

 

You will find numerous posts on this topic and solutions if you take the time to *search* ..... 'PHP5'

 

Matti

Link to comment
Share on other sites

Hello,

 

Can anyone tell me how to use oscommerce with php5?

 

This may help get you started. Though I'm not sure if there is any security issue by turning these on but it did seem to make php 5 work with oscommerce for me.

 

Look for the following in php.ini file and just turn them " On ".

 

; You should do your best to write your scripts so that they do not require

; register_globals to be on; Using form variables as globals can easily lead

; to possible security problems, if the code is not very well thought of.

register_globals = Off

 

; Whether or not to register the old-style input arrays, HTTP_GET_VARS

; and friends. If you're not using them, it's recommended to turn them off,

; for performance reasons.

register_long_arrays = Off

 

; This directive tells PHP whether to declare the argv&argc variables (that

; would contain the GET information). If you don't use these variables, you

; should turn it off for increased performance.

register_argc_argv = Off

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...