Win2000 Apache2 Woes (Server Variables Won't Appear)
| From: | Kyt Aspen | Date: | Fri, 05 Oct 2001 19:02:26 +0000 |
| Subject: | Win2000 Apache2 Woes (Server Variables Won't Appear) | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9718@lists.php.net to get a copy of this message | ||
Hails All, I thought that I'd bring this up to see if anyone could help:
I went to www.php4win.org and downloaded the latest versions of PHP4Win and
Apache2.0 that were available on the site; Apache 2.0.26-dev and PHP
4.0.8-dev (I believe.) They both installed together nicely, just like
Apache 1.3.20 did with the same PHP release.
However, an odd problem started happening with my PHP scripts: the Server
Variables weren't coming through. I use $DOCUMENT_ROOT a lot and it wasn't
there anymore, nor was $SERVER_NAME, etc... I looked at phpinfo(); and they
weren't showing up there either, only $PHP_SELF was available.
I do have register_globals and track_vars On, and the same php.ini
configuration does give me the correct variables when used with Apache; when
it is applied to Apache2 they dissapear.
Any suggestions?
Kyt.