Page 1 of 1
					
				Where is PHP executable?
				Posted: 08 Aug 2007, 11:21
				by Filip
				I try to execute a php-file from the command line on my Bubba.
But what is path to PHP?
Isn't it usually /usr/bin/php? I can't find it!
			 
			
					
				
				Posted: 08 Aug 2007, 15:00
				by tor
				Hi Filip,
The binary is not installed by default, only the apache-module. To get the binary you have to install the package php4-cli
/Tor
			 
			
					
				
				Posted: 08 Aug 2007, 18:32
				by Filip
				Perfect!
Just used:
# apt-get install php4-cli
And now it works perfect and I can execute PHP-files with the command
# /usr/bin/php /home/user/filetoexecute.php
Thank you for your help!