I just found this, http://www.phpfreaks.com/phpmanual/page/features.commandline.html
which I think is relevant to the problem I was having in the thread below, where I can’t seem to get a script to find mysqli_connect when running the script from a command line. Apparently there is another SAPI type for PHP that is designed for running php from the command line. The CLI SAPI is available depending on the options used during the make of php. On dreamhost when I run php -v I only see cgi SAPI.
This signature line intentionally blank.