[suPHP] migration from mod_php5 to suphp : php_flag problem
Jeremy Chadwick
suphp at jdc.parodius.com
Thu May 22 14:27:15 CEST 2008
Wouter de Jong's recommendation is the correct answer to your problem.
It has nothing to do with suPHP.
However, there is a much more serious matter here: in absolutely no
way shape or form should you be using register_globals. If you have
*any* customers/users who rely on it, tell them to fix their code,
it's incredibly easy. register_globals is a humongous security hole.
And, just in case you think I'm trolling/flaming, you should know that
the "feature" will be *entirely removed* as of PHP 6.
--
| Jeremy Chadwick jdc at parodius.com |
| Parodius Networking http://www.parodius.com/ |
| UNIX Systems Administrator Mountain View, CA, USA |
| Making life hard for others since 1977. PGP: 4BD6C0CB |
On Thu, May 22, 2008 at 11:51:53AM +0200, ml at access-dev.com wrote:
> 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
More information about the suPHP
mailing list