我正在尝试使用PHP的本地项目。我在Windows 7上使用IIS 7.5和PHP 5.6.2。我试图设置FirePHP,以便我可以使用它将调试消息发送到Firebug控制台。
对于PHP部分,我遵循了本指南:
http://php.net/manual/en/install.windows.iis7.php
以下是我检查过的一些事情:
这是来自IIS的日志文件。什么都没有跳出来。在配置方面我错过了什么? (如果您发现更方便的话,使用相同文本的Pastebin:enter link description here)
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2014-11-11 19:12:39
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2014-11-11 19:12:39 ::1 GET / - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 200 0 0 83
2014-11-11 19:12:39 ::1 GET /css/styles.css - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 2
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/themes/base/minified/jquery-ui.min.css - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/jquery-1.9.1.min.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/ui/minified/jquery-ui.min.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /jquery.verticalPlugin.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 0
2014-11-11 19:12:39 ::1 GET /pointcloud.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /libs/mjs.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /libs/camera.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 0
2014-11-11 19:12:39 ::1 GET /libs/basicCTX.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 0
2014-11-11 19:12:39 ::1 GET /grid/grid.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /PCTree/PCTree.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 2
2014-11-11 19:12:39 ::1 GET /markers/markers.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /users/users.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 2
2014-11-11 19:12:39 ::1 GET /pcv.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /map/map.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /axes/axes.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 2
2014-11-11 19:12:39 ::1 GET /interactiveFunctions.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 1
2014-11-11 19:12:39 ::1 GET /libs/custom.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 304 0 0 0
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/themes/base/minified/images/ui-bg_flat_75_ffffff_40x100.png - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 200 0 0 0
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/themes/base/minified/images/ui-bg_glass_75_e6e6e6_1x400.png - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 200 0 0 0
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/themes/base/minified/images/ui-icons_222222_256x240.png - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 200 0 0 11
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/themes/base/minified/images/ui-bg_highlight-soft_75_cccccc_1x100.png - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 200 0 0 0
2014-11-11 19:12:39 ::1 GET /jquery-ui-1.10.3/themes/base/minified/images/ui-bg_glass_65_ffffff_1x400.png - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 200 0 0 1
2014-11-11 19:12:42 ::1 GET /action.php a=getnode&path=meta&table=kn_leaf_on 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64)+AppleWebKit/537.36+(KHTML,+like+Gecko)+Chrome/38.0.2125.111+Safari/537.36 200 0 0 2609
2014-11-11 19:14:26 ::1 GET / - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0 200 0 0 1
2014-11-11 19:14:26 ::1 GET /pointcloud.js - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0 304 0 0 1
2014-11-11 19:14:30 ::1 GET /action.php a=getnode&path=meta&table=kn_leaf_on 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0 200 0 0 2287
2014-11-11 19:14:30 ::1 GET /favicon.ico - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0 404 0 2 2
2014-11-11 19:14:30 ::1 GET /favicon.ico - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0 404 0 2 0
2014-11-11 19:15:27 ::1 GET /test.php - 8072 - ::1 Mozilla/5.0+(Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0 500 0 0 2
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2014-11-11 19:24:32
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2014-11-11 19:24:32 ::1 GET /test.php - 8072 - ::1 Mozilla/5.0+ (Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0+FirePHP/0.7.4 500 0 0 17
#Software: Microsoft Internet Information Services 7.5
#Version: 1.0
#Date: 2014-11-11 19:49:45
#Fields: date time s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status time-taken
2014-11-11 19:49:45 ::1 GET /test.php - 8072 - ::1 Mozilla/5.0+ (Windows+NT+6.1;+WOW64;+rv:33.0)+Gecko/20100101+Firefox/33.0+FirePHP/0.7.4 500 0 0 106
答案 0 :(得分:0)
经过几个小时的修补,我发现有人写了一个.bat文件来为你做所有的php-iis。您已经需要安装PHP。这是链接,我希望这可以为其他人节省我刚刚经历的头痛时间。
Rapid PHP Deployment for IIS using a Batch File
仅供参考:我仍然不完全知道我的配置有什么问题。但如果它有效,它就有效。