I have a script that I run from the command line on Centos simply by typing:
php script.php
When I tried this with Ubuntu I reveived:
-bash: php: command not found
I checked the php docs and it states to run php -v to check your version for the php CLI module:
http://www.php.net/manual/en/features.commandline.php
However event this doesn't work...
I am guessing the php executable is not located in the path but have no idea how to rectify this...
Thanks



Adv Reply

Bookmarks