• Httpd source code installation and test steps sharing in CentOS


    Environment: centos6.4   x86_ sixty-four Required applications: Apr( http://apr.apache.org/ )、APR-UTIL( http://apr.apache.org/ )、 httpd( http://httpd.apache.org/ ) In Linux, there are two types of software installation: package installation and source code installation. Package installation refers to encapsulating the compiled binary into RPM package, which can be installed directly using RPM tool and Yum tool. Source code installation […]

  • Apache and php-fpm


    Original address: Apache and php-fpm Catalog 1.SetHandler 2.ProxyPassMatch 3.ProxyPass <h3 id=”1″>1.SetHandler</h3> Deploy only once in the Apache configuration file Apache 2.4.9 or more is required. Ip: port configuration Php-fpm configuration listen = Httpd configuration <FilesMatch \.php$> setHandler “proxy:fcgi://” </FilesMatch> UDS configuration Php-fpm configuration listen = /var/run/php-fpm/php-fpm.sock Httpd configuration <FilesMatch \.php$> SetHandler:unix:///var/run/php-fpm/php-fpm.sock|fcgi://php-fpm SetHandler “proxy: unix:/var/run/php-fpm/php-fpm.sock […]