RE: [PHP-DEV] PHP script source revealed on windows From: James Moore (jmoore <email protected>)
Date: 01/11/01

> > I remember people talking not to long ago about PHP scripts
> > on Windows having their code revealed unpredictably. I also
> > remember the thing only seemed to occur on Windows... Has
> > any more been discovered/has this been resolved?
>
> The problem for PHP/Apache/Linux has been resolved, this fix will bein the
> upcoming 4.0.4pl1.

I would just like to add to this saying that it only occured under very very
rare circumstances (which is partaly why it took a while to track down).
Anyway the problem occured when you had multiple vhosts in httpd.conf with
one of them with php_value engine off in them, this config valuse somehow
propogated to the other vhosts, there is one very easy way to fix this
problem and that is to add php_value engine on in your default host
definition. This only effects PHP 4 under Apache module and when php
4.0.4pl1 is released in a few hours then more information on this will be
made avalible and will be posted in the appropriate places.

James

--
James Moore
PHP Quality Assurance Team
jmoore <email protected>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>