Robert Nedbal wrote:
I think I'd check the release notes for 4.2.2 first to see if there is any change to account for this.Are you implying that it used to work on another computer, or before an upgrade? If so, can you compare the php.ini files? Otherwise maybe its a bug (php with Apache2 I don't think is stable yet).HTH ChrisYes exactly, it's working on our production server (apache 1.x, php-4.0.6). On our test server it's _not_ working (apache 2.0.40, php-4.2.2).
Just being careful (as you compiled from source), does phpinfo() on both systems show php.ini located in /etc?/etc/php.ini file is identical on both systems.
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.So should I try to use apache 1.x instead of apache2?
Hope this helps.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php