Connecting to remote web server [message #251984] |
Thu, 20 March 2008 10:36  |
Eclipse User |
|
|
|
Originally posted by: sclegg.ufi.com
Hi there,
Sorry, I posted this previously in another newsgroup. Probly more
appropriate here.
How do I connect to a remote web server with Eclipse for PHP for testing
php web projects?
Thanks in advance.
Simon
|
|
|
|
|
Re: Connecting to remote web server [message #252057 is a reply to message #252042] |
Thu, 20 March 2008 21:51  |
Eclipse User |
|
|
|
Simon Clegg wrote:
> Thanks Paul, THe option you suggest: 'Window -> Preferences... -> PHP
> -> PHP Server' doesn't seem to appear in my distribution. There is
> 'Window -> Preferences... -> PHPeclipse Web Development -> PHP' but
> there is no server option here (there is PHP parser).
Sorry. I've got PDT installed; I forgot that there is the PHPEclipse
alternative.
>
> If I go to File -> New -> Other... -> Server ->Server I get the New
> Server dialogue box. This has theree fieldsL Server's host name, Select
> the server type, and View By
>
> I can entre the url of my remote server but that is all I can do here.
> The server type field is blank and the Next button in inactive.
>
> I can go to 'Window -> Preferences... -> PHPeclipse Web Development ->
> Project Defaults' and this asks for the location of the server and the
> web root. I can enter these values but I don't know what to do next. Do
> I put the project files to the server? How do I do this from the
> workspeace? Can I run a test from the server.
> I'm not sure what to do...
>
Since PHPEclipse is different from PDT, I probably can't be much help
here on the server settings. I suspect the Project Defaults settings
should get the job done, though.
Yes, you will need to copy the project files to the server. If you're
on Windows and you have the server's drive mapped to a local drive, you
can probably right click on the project in the navigator window and pick
Export... -> General -> File system, select the files you want and
browse to the appropriate server directory. Otherwise, just use
whatever file transfer program the server supports (ftp, sftp, scp, ...)
to copy the files from your Eclipse workspace to the server.
/Paul
|
|
|
Powered by
FUDForum. Page generated in 0.09284 seconds