cougar23 Posted May 6, 2008 Share Posted May 6, 2008 This is my first post and I'm a newbie, so I apoligize in advance if this is the incorrect place to post this question: I've downloaded PDT with Eclipse and have created a super-basic file that's an index.php: <html> <body> <?php echo 'hello world'; ?> </body> </html> I've set the Default Browser to be my external Internet Explorer browser. When I go to Run -> PHP Web Page with the file designated as /myproject/index.php and then Run. I get a 404 page not found error. Is the page not being deployed on my Apache server? And if not, how can I get this working? Again, I apoligize if this is a newbie question. Thanks in advance for your help. Link to comment https://forums.phpfreaks.com/topic/104312-php-on-eclipse-with-pdt/ Share on other sites More sharing options...
Fadion Posted May 6, 2008 Share Posted May 6, 2008 Not used Eclipse so cant tell about configuring it. Anyway be sure that apache is started. Open in IE http://localhost/myproject/index.php and see if it runs. Check if the files are saved on the web directory (htdocs or www or whatever). Link to comment https://forums.phpfreaks.com/topic/104312-php-on-eclipse-with-pdt/#findComment-534111 Share on other sites More sharing options...
cougar23 Posted May 7, 2008 Author Share Posted May 7, 2008 I finally got it figured out. As far as I can tell, you hav to set your workspace to the Apache2.2/htdocs folder. I was trying to use the general workspace I have for all projects (C:\workspace) and then somehow deploy to Apache2.2, similar to dropping a WAR to Tomcat in Java. After looking through all kinds of setup tutorials and documentation, I don't think this is possible with PDT on Eclipse. Link to comment https://forums.phpfreaks.com/topic/104312-php-on-eclipse-with-pdt/#findComment-535586 Share on other sites More sharing options...
Fadion Posted May 7, 2008 Share Posted May 7, 2008 Ive used eclipse for flex a bit and from what i can remember it was a nice editor. I guess that the PDT should give it the php functionality of zend studio, which is actually really good. Personally im stuck on dreamweaver 8 (cs3 is a bit heavy and buggy) and im really glad about it. It is really light and its code coloring, code hinting and site management are more then what i need. I definitely suggest it. Link to comment https://forums.phpfreaks.com/topic/104312-php-on-eclipse-with-pdt/#findComment-535634 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.