I have a Wordpress project that I'm developing in VS2010 (with VS.Php). When I try run tone of the php pages in the browser, I get a alert that asks how I want to open the page, or if I want to save it:
I've configured my local IIS (Windows XP, IIS 5.1) to open php files, but VS doesn't use local IIS to run projects. How can I configure IIS express that runs the VS project, to open php files?
在Visual Studio 2010中运行PHP不会在浏览器中打开php文件
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- dongxiao0449 2010-12-23 08:24关注
I see that it's because the project in VS is not a PHP project.
The way I created this project was by using Webmatrix. I created a Wordpress site in Webmatrix, and when I clicked the Launch in Visual Studio button, it created a project in Visual Studio. But apparently the solution that was created was an ASP.NET one...
After that, I tried creating a normal PHP project (enabled by VS.php), and then PHP worked perfectly.本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥20 安装 opencv4nodejs 报错
- ¥15 adb push异常 adb: error: 1409-byte write failed: Invalid argument
- ¥15 nginx反向代理获取ip,java获取真实ip
- ¥15 eda:门禁系统设计
- ¥50 如何使用js去调用vscode-js-debugger的方法去调试网页
- ¥15 376.1电表主站通信协议下发指令全被否认问题
- ¥15 物体双站RCS和其组成阵列后的双站RCS关系验证
- ¥15 复杂网络,变滞后传递熵,FDA
- ¥20 csv格式数据集预处理及模型选择
- ¥15 部分网页页面无法显示!