On Wed, 18 Dec 2002, Chris Hewitt wrote:
> Robert Nedbal wrote:
> >So should I try to use apache 1.x instead of apache2?
> >
> Pass on that, I have no experience of Apache 2, but I do not think it is
> intended for production yet. Looking at phpinfo() on my computer here
> (GNU/Linux RedHat 7.3 PHP 4.1.2 and Apache 1.3.23) in the "PHP
> Variables" at the bottom shows "_SERVER["PATH_TRANSLATED"} as having the
> value "/var/www/html/phpinfo.php", which is correct. If you do not get a
> value by looking at phpinfo() then I suggest there must be some sort of
> bug. You could try searching the bug list, otherwise maybe going back to
> Apache 1.3.x is a good idea.

I tried Apache 1.3.x and it works. I tested phpinfo() on both systems and
there are results:
Apache 1.3.27 + php-4.2.3:              correct value
Apache 2.0.40 + php-4.2.2:   empty string (not even shown by phpinfo())

I think that there is not big difference between php-4.2.2 and php-4.2.3,
at least in release notes for php-4.2.3 was nothing about _SERVER

Should I add record about this to http://bugs.php.net/ ?

> Hope this helps.

Yes, thank you very much.

Best regards,

> Chris

Robert Nedbal - Czech Technical University in Prague, Czech Republic
email: [EMAIL PROTECTED]             http://www.sh.cvut.cz/~robik/
          /* Debuggers are evil. Never ever trust them. */

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to