#48776 [Opn->Bgs]: php-ini setting doc root

From: Date: Mon, 16 Nov 2009 13:06:35 +0000
Subject: #48776 [Opn->Bgs]: php-ini setting doc root
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3188@lists.php.net to get a copy of this message
ID: 48776 Updated by: vrana@php.net Reported By: woutersch at yahoo dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Win Vista Ultimate PHP Version: Irrelevant New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-11-11 14:30:09] 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. ------------------------------------------------------------------------ [2009-07-02 13:51:31] 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!" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48776&edit=1

« previous php.doc.bugs (#3188) next »