Can't run PHP scripts outside DOC_ROOT ?
| From: | Aerial | Date: | Thu, 12 Jul 2001 04:31:32 +0000 |
| Subject: | Can't run PHP scripts outside DOC_ROOT ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8271@lists.php.net to get a copy of this message | ||
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