[suPHP] migration from mod_php5 to suphp : php_flag problem
ml at access-dev.com
ml at access-dev.com
Thu May 22 11:51:53 CEST 2008
Hello,
I m currently moving websites from a configuration with PHP5/apache2
with mod_php5 to php5/apache2/suphp
Both servers runs Debian Etch on linux 2.6.24
I have an issue with sites using php_flag directives in .htaccess files
(mainly oscommerce websites)
I read the documentation and put this in my http.conf main file :
<VirtualHost my.ip>
DocumentRoot /home/dir/www
ServerName mywebsite.com
ServerAlias www.mywebsite.com
suPHP_Engine on
suPHP_ConfigPath /home/dir/www/
CustomLog /home/log/apache2/mylog.log combined env=!image-request
</VirtualHost>
and in /home/dir/www/php.ini i have :
register_globals on
However, this trick has no effect and my oscommerce sites all dies with :
FATAL ERROR: register_globals is disabled in php.ini, please enable it!
Do Imiss something ?
Nico
More information about the suPHP
mailing list