最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】Aptana Studio 3中运行PHP代码出错:No PHP executables defined; The current debugger does not have any defined PHP executables. Please define a PHP executable location before continuing

PHP crifan 4108浏览 0评论

【问题】

折腾:

【记录】用Aptana Studio 3进行PHP开发

的过程中,去参考:

Aptana Studio于PHP开发

使用

右键->Run As ->PHP Script

运行PHP代码:

run as php script

结果出现No PHP executables defined,详见:

No PHP executables defined,详见:

The current debugger does not have any defined PHP executables.

Please define a PHP executable location before continuing.

No PHP executables defined

 

【解决过程】

1.很明显,是没有配置对应的PHP。

2.所以去配置。

preferences aptana studio php interpreters

3.选择对应的PHP的安装目录:

choose php install path

4.然后就的确可以找到php的exe了:

found installed php exe

 

如此,就设置好了PHP的解析器了。

 

【总结】

想要用Aptana Studio 3,即Eclipse,去运行PHP代码之前,肯定是需要设置对应的PHP的解析器的。

就像之前折腾过的,运行Python文件之前,需要安装Python解析器一样:

【记录】折腾IDE工具:Aptana Studio 3

【已解决】Aptana Studio 3中通过Auto Config配置PyDev中Python出错:java.io.IOException: Cannot run program "python": CreateProcess error=2, The system cannot find the file specified

转载请注明:在路上 » 【已解决】Aptana Studio 3中运行PHP代码出错:No PHP executables defined; The current debugger does not have any defined PHP executables. Please define a PHP executable location before continuing

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.173 seconds, using 22.14MB memory