I am J2EE programmer and I am learning php and drupal. I have insallted eclipse 3.4 and also installed PDP. I have downloaded PDT 1.02(R20080103) using the following url.
http://www.eclipse.org/pdt/

I have created simple php project and created php file with the following contents.

<?php
echo "hi";
?>

How do I run the project? I have external apache server installed on same machine. I see option Run as, PHP script and run as, php web page Both did not work.

I have following questions
1. How is linked from IDE to run php on apache server?

2. What is difference between Run as php script vs run as php web page?

3. In eclipse under window->preferences >debuggers>installed debuggers, I see, "Zend" as well as "xdebg". Does it means PDT includes both of these debuggers by default?

4. Is there default server installed with PDT installation to run php

I appreciate for any links to understand php with eclipse.

thanks,
Chinni

Comments

leadstudios’s picture

I use eclipse as well but for PHP development, I use phpeclipse. For the apache server as well as mysql/php and other tools built in, check out xampp. This is pretty much my PHP web development environment.

I've never used the PDT project before so I'll have to check it out.