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 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败
  • ¥15 树莓派5怎么用camera module 3啊
  • ¥20 java在应用程序里获取不到扬声器设备
  • ¥15 echarts动画效果的问题,请帮我添加一个动画。不要机器人回答。
  • ¥15 Attention is all you need 的代码运行