Naeh
24th December 2006, 02:18
hi,
i am using debian sarge 3.1
i need to use php in shell to excute some php scripts like this :
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
php5: /etc/php5 /usr/lib/php5 /usr/share/php5
3 results are directorys, so there is no php binary files
thanks for help.
i am using debian sarge 3.1
i need to use php in shell to excute some php scripts like this :
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
php5: /etc/php5 /usr/lib/php5 /usr/share/php5
3 results are directorys, so there is no php binary files
thanks for help.