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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: tfoster at pdxinc dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 22:01:28 2025 UTC