note 98158 added to install.windows.iis7

From: Date: Fri, 28 May 2010 17:56:07 +0000
Subject: note 98158 added to install.windows.iis7
Groups: php.notes 
Request: Send a blank email to php-notes+get-169699@lists.php.net to get a copy of this message
The documentation on this page is incorrect. Please note that this is NOT a bug report as it's just a minor oversight in the documentation on this specific page of the manual. Specifically, the second line of Example #3 will throw the following error on IIS 7: ERROR ( message:Cannot find SITE object with identifier "path='*.php',verb='*',m odules='FastCgiModule',scriptProcessor='(path-to-PHP)\php-cgi.e xe',resourceType='Either']". ) It took me several hours to figure this one out, especially since the error message is itself misleading. Basically, this is occuring because the documentation has a space before the "path=" portion of the command. This might seem harmless enough, but since the documentation also doesn't enclose the entire section in double-quotes, appcmd assumes that the space means you're trying to reference a separate object identifier. If you encounter this problem, this fix is insultingly simple: Just remove the space between "name='PHP_via_FastCGI'," and "path='*.php'". Either that, or you can just enclose the entire section in double-quotes, but since the space is superfluous anyway, it would make more sense to simply remove it. --Kris Craig Microsoft OSTC ---- Server IP: 69.147.83.197 Probable Submitter: 131.107.0.118 ---- Manual Page -- http://www.php.net/manual/en/install.windows.iis7.php Edit -- https://master.php.net/note/edit/98158 Del: integrated -- https://master.php.net/note/delete/98158/integrated Del: useless -- https://master.php.net/note/delete/98158/useless Del: bad code -- https://master.php.net/note/delete/98158/bad+code Del: spam -- https://master.php.net/note/delete/98158/spam Del: non-english -- https://master.php.net/note/delete/98158/non-english Del: in docs -- https://master.php.net/note/delete/98158/in+docs Del: other reasons-- https://master.php.net/note/delete/98158 Reject -- https://master.php.net/note/reject/98158 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169699) next »