Why:

  • do people code in medieval style?
  • do people ignore the signs of the time?

I guess I need to find a quick and easy solution to make osCommerce work on php5. phew

-- 10 minutes later --

here's some quick stuff which seems to work for the installation:

cd includes
vi php5_enabled.php
$HTTP_GET_VARS 	= isset($_GET) 	? $_GET 	: null;
$HTTP_POST_VARS = isset($_POST) ? $_POST 	: null;
$HTTP_COOKIE_VARS = isset($_COOKIE) ? $_COOKIE : null;

.htaccess


php_value session.use_trans_sid 0
php_value register_globals 1
php_value auto_prepend_file includes/php5_enabled.php

and et voila!

Database Import
The database import was successful!
osCommerce Configuration
The configuration was successful!

but that would have been to easy!

I needed to change also in catalog/admin/includes/application_top.php

// line 131 from $current_page = basename($PHP_SELF); to
$current_page = (basename($PHP_SELF)!='') ? basename($PHP_SELF) : 'index.php';

and now it seems to work :)