Re: doc-root in php.ini
| From: | Christoph Steinmann | Date: | Mon, 16 Jul 2001 11:53:37 +0000 |
| Subject: | Re: doc-root in php.ini | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8332@lists.php.net to get a copy of this message | ||
>
> I've set up and tested php 4.5 on IIS4 on an NT machine. This machine
> supports several hosted domain web sites and each has it's own IP. My
> problem is that I specified the Document Root in php.ini, having it
pointed
> at the root of the first web on which I wanted php installed. That worked
> fine until I went to enable it on the second hosted web site, which then
> showed the Document Root of the first. Clearing the document_root entry in
> php.ini (leaving it empty) and re-starting all IIS webs had no effect. The
> second web still reports the document_root of the first.
>
Try to restart IIS completely (net stop iisadmin; then net start w3svc).
Afterwards it should work. Maybe you doublecheck if php reads the correct
php.ini file by calling phpinfo().
-Christoph