|
Re: Using PDT as CLI-only, with no web server? [message #57792 is a reply to message #57767] |
Thu, 11 October 2007 19:53 |
Eclipse User |
|
|
|
Originally posted by: Martin.eisengardt.de
> Is it possible to use PDT solely with PHP's CLI executable (I'm using
> WinXP) instead of having to install a web server>
Yes. You may debug scripts within running web servers or debug/run cli
scripts.
|
|
|
Re: Using PDT as CLI-only, with no web server? [message #57816 is a reply to message #57792] |
Thu, 11 October 2007 23:41 |
Eclipse User |
|
|
|
Originally posted by: shiva.io.com
Martin Eisengardt wrote:
>> Is it possible to use PDT solely with PHP's CLI executable (I'm using
>> WinXP) instead of having to install a web server>
> Yes. You may debug scripts within running web servers or debug/run cli
> scripts.
Since it appears that this outputs raw text to the console and not the
Browser Output or Internal Web Browser views, it looks like I'm going to
have to try to figure out how to use the Eclipse WST Preview Server. Ah,
well....
--
Earl Cooley III (shiva@io.com)
|
|
|
Re: Using PDT as CLI-only, with no web server? [message #57916 is a reply to message #57816] |
Fri, 12 October 2007 09:52 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Earl Cooley escribió:
> Martin Eisengardt wrote:
>>> Is it possible to use PDT solely with PHP's CLI executable (I'm using
>>> WinXP) instead of having to install a web server>
>> Yes. You may debug scripts within running web servers or debug/run cli
>> scripts.
>
> Since it appears that this outputs raw text to the console and not the
> Browser Output or Internal Web Browser views, it looks like I'm going to
> have to try to figure out how to use the Eclipse WST Preview Server. Ah,
> well....
>
The reason you get raw text may be that you configured the php-cli.exe
as the PHP executable in the PDT configuration. You can try to select
the no CLI version of PHP executable to obtain response in the browser
output.
Anyway, I think that you don't would find troubles installing a web
server in WinXP, there are alot of packages that makes installation of
Apache+PHP be an easy job. One example is easyphp, that you can find in
http://www.easyphp.org.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03426 seconds