running php script on remote system [message #75541] |
Thu, 10 July 2008 05:16  |
Eclipse User |
|
|
|
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 01:13  |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.06455 seconds