Command-line interface for PHP
The php-cli package contains the command-line interface
executing PHP scripts, /usr/bin/php, and the CGI interface.
The CLI (command line interface) SAPI has been introduced
with a goal of making PHP better at supporting the creation of
stand alone applications.
It is based on CGI SAPI with all CGI specific things removed.
The main differences between the two:
* CLI is started up in quiet mode by default.
(-q switch kept for compatibility)
* It does not change the working directory to that of the script.
Ben Mansell, Stephen Landamore, Daniel Silverstone, Shane Caraveo
You must add '--enable-fastcgi' to the configure command on Linux or
OSX based systems to get fastcgi support in the php-cgi binary. You
also must not use '--enable-discard-path'.
Running the FastCGI PHP module
There are two ways to run the resulting 'php' binary
PHP(1) Scripting Language PHP(1)
php - PHP Command Line Interface 'CLI'
php [options] [ -f ] file [[--] args...]
php [options] -r code [[--] args...]
php [options] [-B code] -R code [-E code] [[--] args...]
php [options] [-B code] -F file [-E code] [[--] args...]
php [options] -- [ args...]
Browse inside php53-cli-5.3.3-13.el5_8.i386.rpm
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com