error 500 with oscommerce

fullmetalucard

Verified User
Joined
Jan 12, 2007
Messages
11
hello

We use DA and installatron (DA_plugin) and we've benn trying to install oscommerce which requires the register_globals option turned to "on".
In my php.ini file, it is set to off (i know that's for security reasons).
And i also know that i can change it by puting php_flag register_globals on an
php_value register_globals 1 in the .htaccess file of oscommerce.
But i've done it and it doesn't work !!
Have any clue??:confused:
 
try using this in .htaccess

Code:
<IfModule mod_php4.c>
  php_value session.use_trans_sid 0
  php_value register_globals 1
</IfModule>
 
allready done, but isn't enough in my case...
i think i may have a trouble with my include_path in my php.ini file.
In fact i have 3 php.ini files:

- the one given with DA (/usr/local/lib/php.ini) with include_path="/usr/local/lib/php"

- another php.ini working as cgi (for php4) in (/usr/local/etc/php4/cgi/php.ini) with
include_path="/usr/local/php4/lib/php"

- and a php.ini working as CGI (for php5) in (/usr/local/etc/php5/cgi/php.ini) with include_path="/usr/local/php5/lib/php"

the last two php.ini have been installed in order to work with suPHP 0.6.2
and each one work, but i'm close to loose myself , configuring all the php.ini files and find the good include_path.
I don't really know if my paths are good or not..
Have any clue?
 
Last edited:
Back
Top