dongyan1808 2016-12-14 10:54
浏览 128
已采纳

PhpStorm在运行时给出错误说内置Web服务器仅在PHP 5.4之后可用

My Setup:-

  1. Windows Version: Windows 7 Ultimate SP1 64-bit
  2. XAMPP Version: 5.6.3
  3. Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
  4. PhpStorm 7.1.3

I have been working on Netbeans for quite a long time and recently I ditched it because of its limited features. Setting up a local env using Netbeans is fairly simple and I had no problem with it.

So I installed PhpStorm 7.1.3 thinking it would quite easy to run my PHP web page in the same way when I was using Netbeans, but When I try to run my web page in PhpStorm 7.1.3 using its built-in webserver I get Error:

Built-in web server is only available since PHP 5.4

What I did is simply import the Project folder (which is in C:/... directory) in PhpStorm and try to run it on browser, but I couldn't get it to work locally. I believe I have to set up Interpreter under settings, but how do I go ahead and what should I include?

When I run my web page using PhpStorm 7.1.3 the Error looks like

This Window is open when I press the Run button

and after that if I click "Fix" then this window is open

press Fix button

Took me over half an hour to get this set up!! Should only have been a few minutes, most of it just telling PhpStorm where it was, not guessing WTF it wants. I read all the pages on their website, so sad that.

So, please, can you help me out here

  • 写回答

1条回答 默认 最新

  • dqt66847 2016-12-14 10:58
    关注

    Just download latest version of XAMPP and install that. It will start working fine after reconfiguration.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 使用C#,asp.net读取Excel文件并保存到Oracle数据库
  • ¥15 C# datagridview 单元格显示进度及值
  • ¥15 thinkphp6配合social login单点登录问题
  • ¥15 HFSS 中的 H 场图与 MATLAB 中绘制的 B1 场 部分对应不上
  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 虚心请教几个问题,小生先有礼了
  • ¥30 截图中的mathematics程序转换成matlab