Re: $_SERVER["PATH_TRANSLATED"] returns empty string
| From: | Robert Nedbal | Date: | Wed, 18 Dec 2002 16:41:43 +0000 |
| Subject: | Re: $_SERVER["PATH_TRANSLATED"] returns empty string | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128746@lists.php.net to get a copy of this message | ||
On Wed, 18 Dec 2002, Chris Hewitt wrote:
> Robert Nedbal wrote:
>
> >Hi,
> >thanks for your reply. But changing source code in my setup is not a long
> >term option. My problem is that $_SERVER["PATH_TRANSLATED"] gives me
> >empty string.
> >
> >Does anybody know how to fix my PHP installation, so
> >$_SERVER["PATH_TRANSLATED"] will give me correct file path?
> >
> >Best regards,
> >Robert
> >
> 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
> Chris
Yes 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).
/etc/php.ini file is identical on both systems.
So should I try to use apache 1.x instead of apache2?
Best regards,
Robert
--
--------------------------------------------------------------------
Robert Nedbal - Czech Technical University in Prague, Czech Republic
email: R.Nedbal@sh.cvut.cz http://www.sh.cvut.cz/~robik/
/* Debuggers are evil. Never ever trust them. */
--------------------------------------------------------------------