views:

24

answers:

1

I have an eclipse workspace folder. I want to store all the different projects I am working on over here. Now I am working on a PHP project and have WAMP installed. Is there some way to configure eclipse such that it outputs my project files to the server's www folder.

I don't want to create my workspace in the server's www folder, for the following reasons: - I will work on multiple projects over time and I want all of them to reside in the same workspace - I don't want to pollute the web server's www folder (though this is a development machine). I feel that if I have the code in a separate workspace, there is a low chance of me deleting it by mistake. I don't want to end up deciding to clean the www folder and deleting my only copy of the code!

Any alternative solutions to my concern are also welcome :)

+1  A: 

You can keep the php code in your current eclipse workspace and then create virtual host in the httpd.conf file of apache server with document root pointing to this directory.

naiquevin
nice! thats a simple solution (esp. with WAMP) and it works. :)
aip.cd.aish