Common Application of the CLI
What is PHP-CLI
PHP-CLI is php Command Line Interface the abbreviation, that is, the PHP command line interface, under Windows and Linux are supported PHP-CLI mode;
Why to use PHP-CLI
Multithreaded applications
PHPCLI mode development does not require any Web server (including Apache or MSIIS), so that CLI can run in various scenarios. There are two ways to run the PHPCLI script. Reprinted, please specify the source: PHP Basics: CLI mode development does
Reprint please indicate source: PHP Base: CLI mode development does not require any kind of Web server
PHP CLI mode development does not require any kind of Web server (including Apache or Ms IIS, etc.), so that the CLI can be run on various
Php-cli Mode Learning (PHP command line mode)
Previously know that the PHP?CLI mode is a shell-like execution PHP program, but always thought this is a backward way, it should be meaningless, because never encountered the use of this CLI mode
I know that the PHP-cli mode is a shell-like command-style execution of PHP programs, but I always thought this is a backward method and it should be meaningless, I have never encountered any programming using this CLI mode. However, I encountered
PHP operating mode has 5 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) ISAPI mode (used in Windows)5) Web module mode (module mode for Web server
1. Basic knowledge1.1 What is shell programming?
In Unix, the shell is not a simple command interpreter (typically with DOS in Windows), but rather a full-featured programming environment. The Shell is part of the operating system that is used to
PHP features: the command line mode starts with version 4.3.0. PHP provides a new type of cli sapi (Server Application Programming Interface, Server Application Programming Port) support, named CLI, command Line Interface, that is, Command Line
Introduction to PHP_CLI Mode
PHP-CLI is the abbreviation for PHP command line interface, as its name implies, is the interface that PHP runs on the command lines, different from the PHP environment (PHP-CGI, ISAPI, etc.) that runs on the Web server,
PHP command-line modeStarting with version 4.3.0, PHP provides a new type of CLI SAPI (Server application Programming Interface, service-side application programming port) support, called CLI, which means Command line Interface , which is the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.