Book
- Apache - DNS settings
- Apache - SSL certificates
- Apache - Configuration files
- Apache - Virtual host template
- Apache - Authorization
- Apache - Localized error pages
- Apache - Single sign-on
- Apache - Automatic proxy configuration
- Apache - Installing SSL certificate in browsers
- Apache - Web applications
- Apache - User wiki
- Apache - Intrusion protection
- Apache - External resources
- Apache - Optimization
- Squid setup
Using Nginx and PHP-FPM on CentOS
Disclaimer: this page is a quicksheet, stub. Proceed to related links for full info.
How to run it with Apache:
yum install mod_fastcgi
mod_fcgid does not work!
mkdir /var/www/php-fcgi ln -s /var/www/drupal /var/www/php-fcgi/drupal
vim httpd.conf
LoadModule fastcgi_module modules/mod_fastcgi.so
<IfModule mod_fastcgi.c>
FastCgiExternalServer /var/www/php-fastcgi/drupal -host 127.0.0.1:9000
AddHandler php-fcgi .php
Action php-fcgi /php-fastcgi
Alias /php-fastcgi /var/www/php-fastcgi/drupal
<Location "/php-fastcgi" >
Order deny,allow
Deny from all
Allow from env=REDIRECT_STATUS
Options +ExecCGI +FollowSymLinks
SetHandler fastcgi-script
</Location>
</IfModule>
Related Links
- PHP-FPM site
- PHP-FPM + PHP 5.3.3 + APC + Nginx + CentOS 5.5 RPMs (Rob Olmos)
- Nginx configuration wiki
- NGINX + PHP-FPM + APC = Awesome (interfacelab)
- Nginx tuning
- Cache static files in Nginx: ngx_slowfs_cache
- Patching php 5.2.12 for php-fpm confusion
- PHP-FPM configuration for Apache
- Using Drupal, Boost and Nginx together
- Установка PHP 5.3.5 (FPM, Imagick, eaccelerator, memcache) на CentOS 5.5

- Visit PHP-FPM site
- Visit PHP-FPM + PHP 5.3.3 + APC + Nginx + CentOS 5.5 RPMs (Rob Olmos)
- Visit Nginx configuration wiki
- Visit NGINX + PHP-FPM + APC = Awesome (interfacelab)
- Visit Nginx tuning
- Visit Cache static files in Nginx: ngx_slowfs_cache
- Visit Patching php 5.2.12 for php-fpm confusion
- Visit PHP-FPM configuration for Apache
- Visit Using Drupal, Boost and Nginx together
- Visit Установка PHP 5.3.5 (FPM, Imagick, eaccelerator, memcache) на CentOS 5.5

Comments
Post new comment