[suPHP] migration from mod_php5 to suphp : php_flag problem
suphp at pmenier.dynalias.net
suphp at pmenier.dynalias.net
Thu May 22 15:36:25 CEST 2008
ml at access-dev.com a écrit :
> 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
>
>
>
> _______________________________________________
> suPHP mailing list
> suPHP at lists.marsching.biz
> http://lists.marsching.com/mailman/listinfo/suphp
>
>
>
Hello
You should take a look at
http://www.magic-seo-url.com/oscommerce/tips/running-oscommerce-with-register-globals-off.html
Some guys have made a very good job by modifying oscommerce as it
becomes compat with register_globals = off
Patrick
More information about the suPHP
mailing list