Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » running php script on remote system
running php script on remote system [message #75541] Thu, 10 July 2008 09:16 Go to next message
John Enevoldson is currently offline John EnevoldsonFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,
We are trying to run php scripts on a remote system using pdt 1.0.3 (build
R20080603) but find that we have to manually export the script from the
project to the remote server first. We are not sure if this is a bug or if
we are doing something wrong:

Steps taken are:

1.Add new php project
2.Create new php file.
3.From the php script edit window right click and select "run as", "open
run dialog..."
4.Select php web page and the configuration for our remote server.
5.Under "File" we select our php script in the project created.
6.Select run.

We now get error 404, object not found - not so surprising since we see
that the php file is not on the server. However, if we manually export the
file first to a destination that matches that entered in step 5 above and
rerun then it works fine.
We would have expected the php file to be automatically moved to the
server.

Is this working as designed or have we missed something ?

Thanks for any help.

Best regards,

John.
Re: running php script on remote system [message #78407 is a reply to message #75541] Sat, 16 August 2008 05:13 Go to previous message
Eclipse UserFriend
Originally posted by: zhonghaicheng.163.com

John Enevoldson wrote:

> Hi,
> We are trying to run php scripts on a remote system using pdt 1.0.3 (build
> R20080603) but find that we have to manually export the script from the
> project to the remote server first. We are not sure if this is a bug or if
> we are doing something wrong:

> Steps taken are:

> 1.Add new php project
> 2.Create new php file.
> 3.From the php script edit window right click and select "run as", "open
> run dialog..."
> 4.Select php web page and the configuration for our remote server.
> 5.Under "File" we select our php script in the project created.
> 6.Select run.

> We now get error 404, object not found - not so surprising since we see
> that the php file is not on the server. However, if we manually export the
> file first to a destination that matches that entered in step 5 above and
> rerun then it works fine.
> We would have expected the php file to be automatically moved to the
> server.

> Is this working as designed or have we missed something ?

> Thanks for any help.

> Best regards,

> John.
I'v met the same problem, but i found that it's ok in this version
pdt-1.0.0.R20070917-debugger-5.2.10.v20070905-all-in-one-win 32, there's a
option in setting php web servers, in this version,the pdt could export
project to server itself. I don't know why pdt can't publish project to
server in version after pdt-1.0.3,is this function canceled in the new
version? have you solved this problem yet?
Previous Topic:problem in executing a php script
Next Topic:cant get subeclipse/subversion using update manager in ganymede
Goto Forum:
  


Current Time: Sat Feb 04 21:58:28 GMT 2023

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

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

Back to the top