This article provides a detailed analysis of the PHP running mode. For more information, see
PHP running mode has four minutes:1) cgi Common Gateway Interface ))
2) fast-cgi resident (long-live) type CGI
3) cli Command Line Interface)
4) web module
Apache configuration file httpd.conf Chinese detailed## The configuration file based on the NCSA server is written by Rob McCool, Longzi translation## Apache Server master configuration file. Includes directory settings for server directives.# More
This article provides a detailed analysis of the PHP running mode. For more information, see
PHP running mode has four minutes:1) cgi Common Gateway Interface ))
2) fast-cgi resident (long-live) type CGI
3) cli Command Line Interface)
4) web module
First of all, my practice configuration, centos6.5 (64-bit), networkingPrepare before installation: Turn off Firewall service iptables stop
Install MySQL
Open terminal, root user
1
yum install mysql mysql-server
I usually configure the environment on my own. in order to facilitate fast configuration in different regions, I would like to sum up and forget. if you are in trouble, you can run some php environment software. For example, phpnow. [Apache
This article summarizes and introduces five php running modes, and makes a simple comparison, which is very detailed and comprehensive, I hope it will be helpful for you to learn how to use php. The PHP running mode has been around for four minutes:
Configure Apache to run PHP article directory fastcgi[Hide]
Installing Apache
Installing fastcgi
Installing php5.2
Configure Apache to support PHP
Apache runs PHP by default with its own mod_php module, and now we describe
Three PHP running methods in Window are illustrated. Whether PHP can be successfully run on the Apache server depends on how we configure the PHP running mode. There are three main ways to run PHP so far: a. run PHP in the mode of module loading. If
PHP operating mode has 4 minutes:1) CGI Universal Gateway Interface (Common Gateway Interface))2) fast-cgi resident (long-live) type CGI3) CLI command line run (Interface)4) Web module mode (Apache and other Web servers run 1.CGI (Common Gateway
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.