[olug] php CLI basics
    Mat 
    olug at phpconsulting.com
       
    Mon Nov 14 03:52:02 UTC 2005
    
    
  
Greetings Jack:
The php "command line interface" binary gets built unless you try not to
when configuring with  "  --disable-cli "
On Debian and Mac OS X, the packages will drop the php executable in
/usr/bin/php.   FreeBSD puts this in:  /usr/local/bin/php
A quick way to check to make sure that your command line PHP binary is
working is to just run it "interactively" in your shell:
php
then type in the following and, when done, hit control-D
<?php  phpinfo();  ?>
That will spit out the configuration directives for how PHP was built,
among other things.
Best regards,
Mat Caughron
PHP Consulting
    
    
More information about the OLUG
mailing list