Skip to main content



      Home
Home » Newcomers » Newcomers » Connecting to remote web server
Connecting to remote web server [message #251984] Thu, 20 March 2008 10:36 Go to next message
Eclipse UserFriend
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 #252040 is a reply to message #251984] Thu, 20 March 2008 11:10 Go to previous messageGo to next message
Eclipse UserFriend
Simon Clegg wrote:
> 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.

You have two places you can do this. Window -> Preferences... -> PHP ->
PHP Server lets you configure a list of available servers (local or
remote) and flag one as default choice. If you make your remote server
the default choice, you don't need to do anything in the other place,
which is the specific run configuration you're going to use for your
testing (Run -> Open Run Dialog... -> (select configuration) -> Server).
If you click Run without first setting up a specific configuration, I
think Eclipse will go with a default configuration that includes your
default server. In the Run configuration, you can specify the server,
the URL for its webroot, and if necessary a URL-to-disk path mapping.

/Paul
Re: Connecting to remote web server [message #252042 is a reply to message #252040] Thu, 20 March 2008 11:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sclegg.ufi.com

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).

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...
Re: Connecting to remote web server [message #252057 is a reply to message #252042] Thu, 20 March 2008 21:51 Go to previous message
Eclipse UserFriend
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
Previous Topic:Integrating BIRT with GWT
Next Topic:Customize Copy/Paste action in CommonNavigator
Goto Forum:
  


Current Time: Tue Jul 15 08:26:24 EDT 2025

Powered by FUDForum. Page generated in 0.09284 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top