WordPress正常运行时,PHP无法在IIS Express中工作 [英] PHP not worked in IIS express when wordpress run with no issue

查看:82
本文介绍了WordPress正常运行时,PHP无法在IIS Express中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过webmatrix安装了WordPress,当我运行它们时,它们在我的计算机上可以正常工作.当我创建一个新网站或从模板创建时,它不起作用.假设我创建了一个index.page并尝试运行它们.我在浏览器中收到了此消息.

I have install WordPress through webmatrix and they are work fine in my computer when I run them. When I create a new website or create from template then it's not worked. Suppose I made a index.page and when I try to run them. I got this message in browser.

HTTP错误404.3-找不到 由于扩展程序配置的原因,无法提供您请求的页面.如果页面是脚本,请添加处理程序.如果应下载文件,请添加一个MIME映射.

HTTP Error 404.3 - Not Found The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

在这种情况下有人可以提供帮助.Wordpress以.php扩展名运行,意味着PHP像

Can someone help in this case.Wordpress is running with .php extension means PHP is installed on server like

现在有人可以帮助我如何解决此问题.

Now someone can help me how I can resolve this issue.

致谢

推荐答案

听起来好像您只需要为站点启用PHP.如果转到网站"工作区,然后单击设置",则应该看到启用PHP"的选项.这个复选框被选中了吗?另外,php-cgi-exe的多个实例也不是一件坏事,这就是IIS中PHP的工作方式:-)

IT sounds like you may just need to enable PHP for your site. If you go to the Site workspace, and click on 'settings', you should see an option for 'Enable PHP'. Is this checkbox checked? Also, multiple instances of php-cgi-exe isn't a bad thing, it's just how PHP in IIS works :-)

这篇关于WordPress正常运行时,PHP无法在IIS Express中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆