Home  >  Article  >  Backend Development  >  iis 发布 php 有关问题

iis 发布 php 有关问题

WBOY
WBOYOriginal
2016-06-13 11:54:17802browse

iis 发布 php 问题


服务器从新安装系统后iis + php配置好了,把php程序放上去后,浏览php页面时,页面什么显示都没有。




是什么问题啊。

自己重新建立一张单独的,php页面又可以访问,
------解决方案--------------------
检查一下访问的页面,可能是空页面,最好

echo "hello";

看一下
------解决方案--------------------
那就是配置的问题。添加IIS的rewrite机制


引用:
Quote: 引用:

检查一下访问的页面,可能是空页面,最好
echo "hello";

看一下


页面是有内容的啊。在本地测试都是可以运行的。。放到服务器上就出现这种状况。。

------解决方案--------------------
不知道你的PHP程序用了框架没有,把访问路径贴出来看看

引用:
Quote: 引用:

那就是配置的问题。添加IIS的rewrite机制


Quote: 引用:

Quote: 引用:

检查一下访问的页面,可能是空页面,最好
echo "hello";

看一下


页面是有内容的啊。在本地测试都是可以运行的。。放到服务器上就出现这种状况。。


确定是添加IIS的rewrite机制吗?因为是服务器,我不敢乱动。
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn