我是 PHP 新手...... (在 Eclips IDE 中)如果我使用 Run As --> "PHP Script"运行 PHP 代码,那可以正常工作,但 Run As --> "PHP Web Page"会抛出错误
Object not found!
The requested URL was not found on this server.
If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
03/22/11 12:04:12
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11
OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.8
请帮帮我.... 葶苈
最佳答案
如果您使用的是 XAMPP,请将您的 eclipse 项目工作区放在 XAMPP\htdocs\
文件夹中。如果您使用 WAMP,则将其放在 WAMP\www\
文件夹中。您会在安装它的目录中找到 XAMPP 或 WAMP 文件夹。
供您引用:
关于php - 如何在 Eclipse 中调试 php,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5387659/