IIS+WebMatrix 做 PHP 遇到的问题总结
2015-11-30 19:51
579 查看
1.
URL Binding Failure Webmatrix
解决办法: 用管理员权限运行 WebMatrix 并且 改 Port. 我反正是随便输入了一个 Port 就成功了, 默认的是 61039, 我改成了 41095.
参考资料: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/url-binding-failure-webmatrix/b818ec28-41df-4176-8991-3b947cf7a3ed
2.
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
配置: 用 WebMatrix新建了一个 Site, 然后建了一个 PHPPage.php.
解决办法: 改名为 index.php 就好了, 因为 WebServer 默认不开放服务器文件浏览的权限. 要以 index.xxx 作为入口
3.
我明明安装了 IIS 8 Express, 但是 PHP Manager 1.2 for IIS 7 安装的时候仍然报错: requires IIS 7 or higher to be installed.
未解决: 但是目前反正不影响使用, 我在 WebMatrix 里面 Site -> Settings -> Enable PHP 仍然可以运行 PHP 代码.
4.
URL Binding Failure Webmatrix
解决办法: 用管理员权限运行 WebMatrix 并且 改 Port. 我反正是随便输入了一个 Port 就成功了, 默认的是 61039, 我改成了 41095.
参考资料: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/url-binding-failure-webmatrix/b818ec28-41df-4176-8991-3b947cf7a3ed
2.
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
配置: 用 WebMatrix新建了一个 Site, 然后建了一个 PHPPage.php.
解决办法: 改名为 index.php 就好了, 因为 WebServer 默认不开放服务器文件浏览的权限. 要以 index.xxx 作为入口
3.
我明明安装了 IIS 8 Express, 但是 PHP Manager 1.2 for IIS 7 安装的时候仍然报错: requires IIS 7 or higher to be installed.
未解决: 但是目前反正不影响使用, 我在 WebMatrix 里面 Site -> Settings -> Enable PHP 仍然可以运行 PHP 代码.
4.
相关文章推荐
- ThinkPHP框架三 空操作和跨控制器调用
- PHP---环境设置
- 使用PHP实现微服务的实验
- 我在PHP中混淆的三组函数总结(htmlentities,html_entity_decode,addslashes)
- phpstorm快捷键
- php js特殊字符处理
- phpstorm常用快捷键
- 移植USB无线网卡到mini2440(TP-LINK的TL-WN721N,使用的芯片型号是rtl8192cu)
- [转]如何在Windows下使用WebMatrix+IIS开发PHP程序
- php开学之环境搭建
- 用php调用接口api
- editplus4注册码
- 解决iptables和vsftpd设置的问题
- 在iptables防火墙下开启vsftpd的端口
- thinkphp restful专题
- phpcms与discuz完美融合
- PHP的基本语法——PHP语言标记及指令分隔符“分号”
- 搭建ftp
- php页面操作超时
- PHP捕获Fatal error错误的方法