PHP super configuration module HP4, PHP5, module, cgi_PHP tutorial

WBOY
Release: 2016-07-13 17:33:37
Original
907 people have browsed it


Calling php (as the current mainstream development language) in apache (the most popular WEB server platform on the Unix platform) is an enduring topic. The current php (as the current mainstream development language)There are php(as the current mainstream development language)4 and php(as the current mainstream development language) 5 version, and in apache (the most popular WEB server platform on the Unix platform) , calling php (as the current mainstream development language) also has module (module) mode and cgi (not many people are using it now) method, and apache (the most popular WEB server platform on the Unix platform) also exists apache (the most popular WEB server platform on the Unix platform) Server platform) 1 and apache (the most popular WEB server platform on the Unix platform) 2.
In apache (the most popular WEB server platform on the Unix platform) There are the following eight modes for calling php(as the current mainstream development language):
 1, php(as the current mainstream development language)4 in apache (The most popular WEB server platform on Unix platform)1. Module mode
 2.php(as the current mainstream development language)4. Apache(Unix platform The most popular WEB server platform) 1 cgi (not many people are using it now) mode
3. php (as the current mainstream development language) 5 in apache(the most popular WEB server platform on Unix platform)1 module mode
 4, php(as the current mainstream development language)5 in apache(The most popular WEB server platform on Unix platform)1 cgi(not many people are using it now)mode
 5,php(as the current mainstream development Language)4 in apache(the most popular WEB server platform on Unix platform)2 module mode
 6, php(as the current mainstream development language)4 In apache (the most popular WEB server platform on Unix platform) 2 cgi (not many people are using it now) mode
7, php (as The current mainstream development language) 5 in apache (the most popular WEB server platform on the Unix platform) 2 module mode
8, php (as the current mainstream development language) 5 in apache(the most popular WEB server platform on Unix platform)2 in cgi(not many people are using it now)Mode
Have you ever thought about it , how about configuring these eight calling modes in a configuration file?
Maybe you have done it, but it was not completely successful, because these eight modes are not compatible with each other.
However, it is easy to tame these eight modes and contain them together by using one command of apache (the most popular WEB server platform on Unix platform) .
Which command? It turns out to be:
 At http://w.yi.org/ftp/FAPM/apache(The most popular WEB server platform on the Unix platform)/apache(The most popular WEB server platform on the Unix platform Server platform) 2/zh/mod/core.html#ifdefine has a complete introduction to this command.
 Command
Code:

Description: Only at startup A packaging instruction that is carried out after a successful test
Syntax: ...
Context: server configuration, virtual host, directory, .htaccess (favorite for small websites)
Coverage: All
Status: Core
Module: core

...< ;/IfDefine> The configuration section is used to identify instructions for additional application conditions. Instructions in the configuration section are processed only if the test result is true. if the test fails. Directives in this configuration section will be ignored.
 
 The test in the configuration section can be in one of the following two forms:
 
 Parameter name
 !Parameter name
 In the first case, only if The instructions between the start and end tags are processed only if the parameter matching the parameter name has been defined. The second situation is quite the opposite. The instruction is processed only if the parameter name is not defined.
 
 The parameter name variable is specified in the form of -D parameter on the httpd command line when the service is started.
 
  Configuration sections can be nested, allowing simple multi-parameter testing to be implemented.For example:
 
 $ httpd -DReverseProxy ...
 
 # httpd.conf
  ule modules /libproxy.so
 

 
 
 php
(as the current mainstream development language)
The super configuration module is as follows↓  ____________________↓↓  _______________↓↓↓
 ______________↓↓↓↓
 _______________↓↓↓↓↓
 ______________↓↓↓↓↓↓
 _______________↓↓↓↓↓
______________↓↓↓ ↓
 _______________↓↓↓
 ____________________↓↓
 php
(as the current mainstream development language)
The super configuration module is as follows↓  Code:
 ############################################### #################
 # php
(as the current mainstream development language)
Super configuration module--php(as the current mainstream development language) Mainstream development language) 4, php (as the current mainstream development language) 5, module, cgi (not many people are using it now) You can play with it Transfer -- applied to apache (the most popular WEB server platform on Unix platform) #   ######################## ########################################  # Configuration version General version v1.01      # @hotmail.com     #
 ## ################################################ #############
 # Home page address: http://w.yi.org/ /viewforum.php
(as the current mainstream development language)
?f=13 #
 ####################### #########################################


http://www.bkjia.com/PHPjc/508605.html
www.bkjia.com

true

TechArticleCalling php (as the current mainstream development language) in apache (the most popular WEB server platform on the Unix platform) ) is an enduring topic, and the current PHP (as the current mainstream development language...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template