PDA

View Full Version : [ubuntu] PHP5 interpreter missing



Vordreller
December 28th, 2008, 08:17 PM
Greetings. Two days ago, I installed Ubuntu 8.10 using Wubi.

Before that day, I'd never worked with anything but Windows.
Now, with the help of google, most things weren't hard to figure out. I had the system checked for updates, I installed Java, I installed netbeans for PHP and then I followed these 3 articles to be able to debug PHP:

http://blogs.sun.com/netbeansphp/entry/ubuntu_php_netbeans
http://blogs.sun.com/netbeansphp/entry/ubuntu_php_netbeans_part_ii
http://blogs.sun.com/netbeansphp/entry/ubuntu_php_netbeans_part_iii

I got the phpinfo() page to run and all, so that's a succeS.

Now I'm trying to get Netbeans to debug my files, but for some reason, there's no PHP interpreter found.

I went to /usr/bin/ to check for PHP but it wasn't there.

I tried the terminal: whereis php
but that returned nothing.

So since I don't have a php interpreter, I can't debug my php projects.

It's kinda weird, since the pages render perfectly, but I just can't find the interpreter...

does anybody know what might be causing this and/or what I can do to make things work?

npm1
July 2nd, 2009, 02:37 PM
no i don't that is exactly what i'm also looking for netbeans

their is easy eclipse and it comes with everything pre installed all u do is open the package in the folder and walla it opens with no installation required @ all

npm1
July 2nd, 2009, 02:47 PM
i'll try it out as well and let u know how it works out for me

bowens44
July 2nd, 2009, 02:47 PM
try this:
sudo apt-get install php5-cli

npm1
July 2nd, 2009, 03:35 PM
yes its working thank u very much mate

npm1
July 2nd, 2009, 03:35 PM
now their is no need for any other ide

tatacarrera
June 22nd, 2010, 11:50 PM
sudo apt-get install php5-cli
worked for me!!
thanks