Posted by Jerry Stuckle on 09/07/05 21:09
tom pester wrote:
>> Interesting. What does phpinfo() show? And did you try
>> $_SERVER["APPL_PHYSICAL_PATH"]? I'm wondering if this one works.
>
>
> I can't find the the term DOCUMENT_ROOT in phpInfo() but I do find
> doc_root :
>
> doc_root no value no vlaue
>
> If I try print $_SERVER["APPL_PHYSICAL_PATH"] i get
> Notice: Undefined index: APPL_PHYSICAL_PATH in
> D:\DataBackup\Projects\Websites\PHP\Pages\test.php on line 3
>
> What's going on on my 2 machines?? These are basiacly 2 clean installs
> so I doubt its a config issue on my part.
>
> Can somebody else confirm that $_SERVER['DOCUMENT_ROOT']
> $_SERVER["APPL_PHYSICAL_PATH"]
>
> Are empty on some windows machines?
>
>
Tom,
Hmm, I'm not sure what the differences are. I've got a basic
installation of PHP on IIS on my end, also. Are you by any chance using
the CGI version of PHP? I'm using the isapi version here.
I also have Apache installed on this system, and both share the same
..ini file. But I don't think that should affect anything. I tried
stopping Apache, but no difference - both values are there.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|