Unable to run as php web page [message #492105] |
Sun, 18 October 2009 14:50  |
Eclipse User |
|
|
|
Hi,
I just installed latest version of Eclipse 3.5 and PDT, setup xdebug integration, but I couldn't use debug/run as php web page, when I try to do this or try to run/debug via run/debug configuration dialog, nothing happens, there is no browser opening the page. I can run the php file as script though.
My environment:
Windows XP
Eclipse 3.5 + PDT 2.2 (+ IDE For Java EE 1.2.1)
PHP 5.2.9
Apache 2.2
My setup:
Preferences->PHP->PHP Servers: I added
URL=http://localhost
Path on server=<Path to my local apache htdocs directory>
Path in Workspace=/Test (I have a PHP project named Test pointing to apache's htdocs)
Preferences->PHP->PHP Executables:
Executable path: <My local php.exe>
SAPI Type: CLI
PHP debugger: XDebug
Preferences->PHP->Debug:
PHP Debugger: XDebug
Server and PHP Executable: The ones I added above
Run Configurations->PHP Web Page: I added
Server Debugger: XDebug
PHP Server: The one I added above
File: /Test/test.php
URL: http://localhost/ /test.php
Any idea what's wrong?
Thanks
|
|
|
|
|
|
|
|
|
|
Re: Unable to run as php web page [message #496093 is a reply to message #492105] |
Sun, 08 November 2009 10:22   |
Eclipse User |
|
|
|
I'm having a similar issue. I've installed the latest version of PDT from the Eclipse PHP website.
Eclipse will not run .php files either locally w/in the IDE, or w/in a browser.
It doesn't appear that PHP or Apache are installed, even though I downloaded the PDT packaged labeled "all packages included". ( http://www.eclipse.org/downloads/download.php?file=/technolo gy/epp/downloads/release/galileo/SR1/eclipse-php-galileo-SR1 -win32.zip)
Is that even possible? How could it include all packages, but not have PHP and Apache, or be able to run PHP out of the box?
Do I need to download and install apache and php separately? Or, should these have been included? And, if they were included, how do I get them installed and running? None of the tutorials, how-to guides, videos, or configuration instructions seem to cover how to simply run PHP w/in the Eclipse IDE.
Very confused... thanks in advance for any help anyone can provide.
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.35763 seconds