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

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 求Houdini使用行家,付费。价格面议。
  • ¥15 AttributeError: 'EasyDict' object has no attribute 'BACKUP_DB_INFO'
  • ¥15 前端高拍仪调用问题报错
  • ¥15 想用octave解决这个数学问题
  • ¥15 Centos新建的临时ip无法上网,如何解决?
  • ¥15 海康威视如何实现客户端软件对设备语音请求的处理。
  • ¥15 支付宝h5参数如何实现跳转
  • ¥15 MATLAB代码补全插值
  • ¥15 Typegoose 中如何使用 arrayFilters 筛选并更新深度嵌套的子文档数组信息
  • ¥15 CF1927D 求Hack