RHEL 7 Apache MPM Configuration
RHEL 7 Apache MPM Configuration
1. Installing apache and php is simple. I can use yum to install apache and php.
Yum groupinstall "Basic Web Server"
Yum install php
2. You can view the currently used modules through httpd-V. Now MPM is shared object, and it is no longer like httpd-l.
3. The separate MPM configuration file is/etc/httpd/conf. modules. d/00-mpm.conf, But I configure
LoadModule mpm_worker_module modules/mod_mpm_worker.so
An error is returned when you restart httpd. Be sure to comment out the bottom two lines of/etc/httpd/conf. d/php. conf.
# Php_value session. save_handler "files"
# Php_value session. save_path "/var/lib/php/session"
4. restart httpd. systemctl restart httpd.
5. Check httpd-V again to see that the Server MPM is a worker.
6. enable server-status. I wrote allow ALL in this way, which is not safe. Only Intranet access is allowed.
# Enable server-status
<Location/server-status>
SetHandler server-status
Order Allow, Deny
Allow from all
</Location>
Install a Web Server on Ubuntu Server 14.04 (Linux + Apache + MySQL + PHP)
Install and configure the PHP environment in Linux (Apache2)
Install the LAMP \ Vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04
Compile and install LAMP in CentOS 5.9 (Apache 2.2.44 + MySQL 5.6.10 + PHP 5.4.12)
Source code for Web server architecture in RedHat 5.4 build the LAMP environment and application PHPWind
Apache details: click here
Apache: click here
This article permanently updates the link address: