php not running in command line

SupermanInNY

Verified User
Joined
Sep 28, 2004
Messages
419
Hi All,

# php
-bash: php: command not found

# php -v
-bash: php: command not found


What am I missing?
I did a ./build clean
./build php y

it was done successufly, and it is running fine from the web, but not from command line.

Any pointers?

Thanks,

-Alon
 
ln -s /usr/local/bin/php /bin/php

Thanks!
That solved the problem.
I guess that link wasn't created during the initial DA install, but shouldn't it have been created during a ./build php ?

Anyways, that resolved my problem immediatly.

Thank you.

-Alon.
 
I'm not sure does custombuild have to create a symlink to php binary in the folder in $PATH... But php from rpm, php from deb, and php compiled with cpanel do it. Maybe, it must be added to custombuild?
 
Back
Top