We are very grateful to all our readers for replying to our new Linux interview chapter. now we have started to learn about the interview questions and the chapters on the basic to intermediate Apache interview questions that we are paying attention
Features of ApahcePowerful, simple configuration, fast, wide application, stable and reliable performance, and can be used as proxy server or load balancerApplication scenarios.Use Apache to run static HTML Web pages, pictures (processing static
First, Tomcat introduction
Tomcat is a core project in the Jakarta Project of the Apache Software Foundation (Apache Software Foundation), developed jointly by Apache, Sun and other companies and individuals. With Sun's involvement and support, the
First, compile and install Httpd2.4.101. Solve the dependency relationshipHTTPD-2.4.10 requires a newer version of APR and Apr-util, so it needs to be upgraded beforehand. There are two ways to upgrade, one is to compile the installation through
PHP has three modes of collaboration with Apache: CGI, Modules, FastCGI.In CGI mode, when a user requests a PHP file, Apache initiates the response process, invokes the PHP processor to process the request, and then returns the result to the client.
Web server software installation sequence: Mysql --> Apache (httpd) --> PHPApache: http://www.apache.org/dist/httpd/
Decompress the package and enter the decompressed directory. Execute:
. /Configure -- prefix =/home/apache -- enable-so --
CentOS6.5 system build Apache server
Apache is the world's No. 1 Web server software. It can run on almost all widely used computer platforms. Because of its wide use of cross-platform and security, it is one of the most popular Web server software.
LAMP comprehension:
LAMP: A group of open-source software commonly used to build dynamic websites or servers in Linux + Apache + Mysql + Perl/PHP/Python. LAMP is independent of each other, however, because it is often used together, it becomes
Apache has a 4-layer structure, from the core to the outer module. The outer module can work with Apache in both static and dynamic ways. This also introduces the following "dynamic" and "static" two ways of compiling the installation:Static
Compile and install lamp combinations:There are two ways to integrate httpd+php:1.modules: Compile PHP into HTTPD's DSO object;Prefork:libphp5Event, Worker:libphp5-zts--enable-maintainer-zts2.FPM (fastcgi): PHP as a standalone serviceHTTPD support
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.