php5-cgi installed but php5 command not found [OK] hi, i am using debian sarge 3.1 i need to use php in shell to excute some php scripts like this : Code: php5 script.php i installed php5-cgi (apt-get install php5-cgi) but it does not work, i have this error : php5: command not found. the commande whereis php5 returnes Code: php5: /etc/php5 /usr/lib/php5 /usr/share/php5 3 results are directorys, so there is no php binary files thanks for help.
Please run: apt-get install php5-cli For commandline purposes, php5 has a cli package, the cgi si normally not used for this anymore. The you should have a php5 or php command.