#48776 [NEW]: php-ini setting doc root

From: Date: Thu, 02 Jul 2009 13:51:32 +0000
Subject: #48776 [NEW]: php-ini setting doc root
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2447@lists.php.net to get a copy of this message
From: woutersch at yahoo dot com Operating system: Win Vista Ultimate PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: php-ini setting doc root 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 bug report at http://bugs.php.net/?id=48776&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48776&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48776&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48776&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48776&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48776&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48776&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48776&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48776&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48776&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48776&r=support Expected behavior: http://bugs.php.net/fix.php?id=48776&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48776&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48776&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48776&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48776&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48776&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48776&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48776&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48776&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48776&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48776&r=mysqlcfg

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