1

Have a basic question on running PHP applications using Eclipse PHP on Ubuntu. I have installed Apache2 and it has its DocumentRoot setup to /var/www. Now my eclipse workspace points to /home/me/workspace. How do I deploy my applications from my workspace folder to the server using Eclipse ? If I choose my workspace loc as /var/www, things work. But I dont wanna do that. Is there a way I can publish my code to the server ?I remember the Tomcat plugin for eclipse had a 'publish to server' feature. Anything similar on Eclipse PHP ?

Also, not sure if I have missed out on anything while setting things up..

Thanks in advance :)

1 Answer 1

1

What about doing it the other way around, setting the apache docroot to your workspace dir? I work with ZendStudio (Eclipse based) with this setup.

Sign up to request clarification or add additional context in comments.

1 Comment

Hi AJweb.. thanks for your comment.. I did think about that. But its just that I wanna keep my dev and prod env separate. I am currently doing it through ANT as explained in stackoverflow.com/questions/3747070/… .

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.