Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Eclipse and PDT on Debian
Eclipse and PDT on Debian [message #545965] Fri, 09 July 2010 18:11 Go to next message
Gusnan is currently offline GusnanFriend
Messages: 2
Registered: July 2010
Junior Member
Using Eclipse Helios and the PHP Development Tools (PDT) I have problems "running" the PHP code.
Using Run As -> PHP Web page I get

"The requested URL /PHPtest/newfile.php was not found on this server."

and the browser in Eclipse is on

http://localhost/PHPtest/newfile.php

What do I need to be able to "run" my PHP code? What am I missing?
Am I missing something vital?
Re: Eclipse and PDT on Debian [message #545979 is a reply to message #545965] Fri, 09 July 2010 18:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dkel50.hotremovemail.com

You need to set up a web server yourself and ensure that the files in
your project are either copied to the appropriate location for the web
server or share the files between your webserver and PDT using links for
example. PDT doesn't provide any inbuilt server to run against.

Dave


On 09/07/2010 19:11, gusnan@gusnan.se wrote:
> Using Eclipse Helios and the PHP Development Tools (PDT) I have problems
> "running" the PHP code.
> Using Run As -> PHP Web page I get
>
> "The requested URL /PHPtest/newfile.php was not found on this server."
> and the browser in Eclipse is on
>
> http://localhost/PHPtest/newfile.php
>
> What do I need to be able to "run" my PHP code? What am I missing?
> Am I missing something vital?
Re: Eclipse and PDT on Debian [message #545993 is a reply to message #545979] Fri, 09 July 2010 20:05 Go to previous messageGo to next message
Gusnan is currently offline GusnanFriend
Messages: 2
Registered: July 2010
Junior Member
Thanks! Got it solved, symlinking from the /var/www folder to my eclipse project made me able to reach it from the eclipse browser.
Re: Eclipse and PDT on Debian [message #546087 is a reply to message #545993] Sat, 10 July 2010 21:08 Go to previous messageGo to next message
ushith is currently offline ushithFriend
Messages: 6
Registered: July 2010
Junior Member
Hello,

I have exactly the same problem.
I know that making link in my /var/www folder to my project directory solve the problem.

So :
- I run eclipse as root
- /var/www has 777 rights.
- Eclipse can create the project folder in /var/www (so he can access it)

But still eclipse somehow can't copy the php files in the /var/www/<project> folder ...

It's working great on XP & windows 7 with wamp 2.0i, so why is there a problem here ? (haven't tested on other linux yet)

Is it a known bug or settings problem ?

Regards.

[Updated on: Sat, 10 July 2010 21:09]

Report message to a moderator

Re: Eclipse and PDT on Debian [message #899797 is a reply to message #545979] Thu, 02 August 2012 11:43 Go to previous message
chen thierry is currently offline chen thierryFriend
Messages: 24
Registered: June 2010
Junior Member
What do you mean by eclipse "can create the project", What files are in the project's directory ?
Depending on the way you create projects, php files and eclipse files might not be at same place
Previous Topic:How Can I view the php includes, javascript files and css in eclipse?
Next Topic:When I have some PHP-files
Goto Forum:
  


Current Time: Fri Apr 19 12:48:14 GMT 2024

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

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

Back to the top