Bug #13523: doc_root
| From: | tfoster at pdxinc dot com | Date: | Tue, 02 Oct 2001 21:43:18 +0000 |
| Subject: | Bug #13523: doc_root | ||
| Groups: | php.dev php.doc | ||
| Request: | Send a blank email to php-dev+get-67120@lists.php.net to get a copy of this message | ||
From: tfoster@pdxinc.com
Operating system: NT Workstation
PHP version: 4.0.6
PHP Bug Type: Documentation problem
Bug description: doc_root
The docs say that when using PWS, php.ini should be configured as
follows:
"Set the 'doc_root' to point to your webservers
document_root. ex: c:\apache\htdocs or c:\webroot"
I set mine to "L:\php\htdocs" (a FAT partition), used MMC to map a virtual
directory to the drive. Used "<?php phpinfo();?>" as a script and got a CGI
error:
"The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:"
Editing the ini file and removing the "L:" from 'doc_root' (even leaving
the entire value blank) would cause PHP to work correctly.
--
Edit bug report at: http://bugs.php.net/?id=13523&edit=1