PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #48776 php-ini setting doc root
Submitted:2 Jul 2009 1:51pm UTC Modified: 16 Nov 2009 1:06pm UTC
From:woutersch at yahoo dot com Assigned to:
Status:Bogus Category:Documentation problem
Version:Irrelevant OS:Win Vista Ultimate
Votes:2 Avg. Score:4.5 ± 0.5 Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%) Same OS:0 (0.0%)
View/Vote Developer Edit Submission

[2 Jul 2009 1:51pm UTC] woutersch at yahoo dot com
Description:
------------
php-ini on "doc_root" says:
; The root of the PHP pages, used only if nonempty.
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
; if you are running php as a CGI under any web server (other than IIS)
; see documentation for security issues.  The alternate is to use the
; cgi.force_redirect configuration below
; doc_root = e:\Workfiles1\inetpub\wwwroot

Activated this gave the "no input file specified" on my IIS. It cost me
a lot of time, installing and un-installing, googling to find the bug.
For IIS the doc_root should be commented out. I had read this text many
times, but did not get it. Put explicitly there something like "For IIS
comment doc_root out!"

[11 Nov 2009 2:30pm UTC] narazana at googlemail dot com
I just finished installing PHP with FastCGI for IIS 7 in Windows 2008.
I gave me the infamous yell "No input file specified." when I browsed to
my new virtual directories which was created outside the
C:\inetpub\wwwroot.

I commented doc_root out. It was still yelling "No input file
specified." The problem was the "open_basedir = C:\inetpub". So, I
comment out the open_basedir and it's working just fine. I still have
doc_root uncommented at the moment because the doc_root is set to
nothing like this doc_root =

If it doesn't harm to comment out the doc_root I think I will comment it
out too.
[16 Nov 2009 1:06pm UTC] vrana@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC