Re: Can't run PHP scripts outside DOC_ROOT ?
| From: | elias | Date: | Thu, 12 Jul 2001 08:18:44 +0000 |
| Subject: | Re: Can't run PHP scripts outside DOC_ROOT ? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8272@lists.php.net to get a copy of this message | ||
Try to add a new virtual directory.
Select your C:\Temp and go to File/Properties, go to Web Sharing, and click
add, and name a virtual directory let's say: /temp
you can now access as:
http://localhost/test/yourscript.php
Best Wishes,
Elias,
"Aerial" <take@myspam.net> wrote in message
news:20010712043205.31041.qmail@pb1.pair.com...
> I'm running WinME + PWS 4 + PHP 4.0.6 using CGI. When I tried to run a
> script outside the DOC_ROOT set in php.ini
> (i.e. DOC_ROOT = c:\webroot and I'm running a script at c:\temp), an error
> was shown and said the CGI program could not return the headers. I've
> checked that the CGI self has no problem and that dir with CGI scripts
have
> set access with "execute" box checked already. Thanks a lot
>
>