我刚刚在我的 Mac (OS X v. 10.5.8) 上安装了 Eclipse Helios (zend-eclipse-php-helios-macosx-cocoa-x86.tar.gz
)。
当我尝试添加 PHP 可执行文件 (/Applications/MAMP/bin/php5.3/bin/php
) 时,我收到以下消息:
Selected location doesn't refer to a valid PHP executable
并且 Eclipse 不允许我添加这个可执行文件 - 是一个有效的 PHP 可执行文件。
看...
[23:34 44]
/Applications/MAMP/bin/php5.3/bin/php -v
PHP 5.3.2 (cli) (built: Mar 5 2010 16:45:34) Copyright (c) 1997-2010
The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010
Zend Technologies
with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
with Xdebug v2.1.0-dev, Copyright (c) 2002-2009, by Derick Rethans
请指教。提前致谢。
赖利
最佳答案
这是否类似于this thread Helios 上的 PDT 哪里缺乏与 PHP5.3 的直接兼容性?
bug 28157 "Unable to add PHP executable" 中提出了一种可能的解决方法, 用 php
包装。
关于php - Eclipse Helios - 添加 PHP 可执行文件时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5026351/