php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #13523 doc_root
Submitted: 2001-10-02 17:43 UTC Modified: 2001-10-02 19:57 UTC
From: tfoster at pdxinc dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.0.6 OS: NT Workstation
Private report: No CVE-ID: None
 [2001-10-02 17:43 UTC] tfoster at pdxinc dot com
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-02 19:57 UTC] jeroen@php.net
No documentation problem. Please try news://news.php.net/php.windows
(see http://www.php.net/support.php for details) and reopen as installation problem.

I don't know what MMC is, but I suppose it isn't supported.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC