Re: [PHP] _SERVER['DOCUMENT_ROOT'] not set?

2008-08-29 Thread Saurabh Agrawal
On Fri, Aug 29, 2008 at 5:06 PM, metastable <[EMAIL PROTECTED] > wrote: > Does Zend use a separate instance of Apache or some other webserver ? > > Stijn > > Actually I don't know the answer to this. How can I find that out? AFAIK, while custom installation, it didn't ask for any such option. Th

Re: [PHP] _SERVER['DOCUMENT_ROOT'] not set?

2008-08-29 Thread Saurabh Agrawal
> > > > In one of the examples, I am supposed to access _SERVER['DOCUMENT_ROOT']. > > However, when I am seeing its value in the debug stack, I am getting it > to > > be null! Even phpinfo() is showing that this particular variable does not > > even exist, though there are other _SERVER[''] declara

[PHP] _SERVER['DOCUMENT_ROOT'] not set?

2008-08-29 Thread Saurabh Agrawal
Hello group, I am new to php. I have just bought a good book by Welling and Thomson and was following the example codes. In one of the examples, I am supposed to access _SERVER['DOCUMENT_ROOT']. However, when I am seeing its value in the debug stack, I am getting it to be null! Even phpinfo() is