eclipse php ubuntu

Hi Guys, I m using the PhP Eclipse Bundle (PDT) . But I cant run a script inside the IDE… quite odd.

Here are the facts :

  1. I created a php project, However, when I click “run as-> PHP Script”, nothing happens !

  2. I can easily run the same script by cd’ing to the directory and invoking “php hello.php”

  3. the path to php’s executable on my system is set inside of eclipse, correctly, as /usr/bin/php.

Any idea why eclipse won’t run my helloworld php script ?

Why run the script? Why not load it in your browser? that’s what I’d expect to do. You would need to set up Apache first.

Sponsor our Newsletter | Privacy Policy | Terms of Service