我是一名Java程序员,但最近我得到了一份与PHP和mySQL一起工作的工作。为此,我查找了很好的IDE(我以前使用过Netbeans),并推荐使用Eclipse。
当我尝试开始工作时,我收到了以下错误消息:
Error launching 'firstfile'
The debug session could not be started.
Please make sure that the debugger is properly configured as a php.ini directive."我在谷歌上查了一下,并尝试了一系列的解决方案。我甚至重新安装了Eclipse。
我有以下几点:
我的配置在Window->Settings->PHP->PHP可执行文件下面:
Name: exec-wamp
Executable Path: C:\wamp\bin\php\php5.3.5\php.exe
PHP ini file: C:\wamp\bin\php\php5.3.5\php.ini
SATI Type: CLI
PHP debugger: XDebug注意:我试图将调试器切换到Zend,但这没有帮助。
发布于 2011-05-17 03:49:43
请查看http://www.xdebug.org/docs/install#configure-php上的资源,并确保所有配置都如所述。
具体地说:
确保在php.ini
php.ini
modphp)
xdebug)。
发布于 2012-01-20 11:10:59
只需访问http://www.zend.com/products/studio/downloads并下载"Studio“。按照安装指南(http://static.zend.com/topics/Zend-Debugger-Toolbar-Installation-Guide.pdf)中的说明操作。诀窍是选择与PHP版本相对应的正确的ZendDebugger.dll (或.so)。
通过这些步骤,您可以以脚本的形式运行PHP程序,并将输出显示在控制台中。希望这能有所帮助。
发布于 2013-05-17 20:00:56
Aptana非常适合PHP,并且构建在Eclipse上。它可以用作独立的IDE或Eclipse插件。它为您提供了Eclipse的所有好处,以及许多额外的东西,使得在PHP、JS和HTML/CSS中进行web开发成为joy。请参阅http://www.aptana.com/
https://stackoverflow.com/questions/6020519
复制相似问题