Showing posts with label no env in /usr/bin. Show all posts
Showing posts with label no env in /usr/bin. Show all posts

Friday, July 12, 2013

/usr/bin/env: php: No such file or directory

/usr/bin/env: php: No such file or directory

If you are getting this error, it means php is not installed or the file is corrupted.
Install it using
$ sudo apt-get install php5-cli
If you are still getting the error, Install all php packages using
$ sudo apt-get install php5 $ sudo apt-get install libapache2-mod-php5