Using php form the command line

Dotan Cohen dotancohen at
Mon Jan 15 07:59:38 UTC 2007

I installed php5 via apt-get, but when I try to find the path I cannot find it:
$ which php
$ which php5

Why is php not accessible from the command line? I have used php in
Fedora from the command line. In Fedora, I can call php at
/usr/bin/php. How can I enable it in Ubuntu as well? Thanks in

Dotan Cohen

More information about the ubuntu-users mailing list