eZ Community » Learn » eZ Publish » eZ Publish 4.2011 Community (4.5)...

eZ Publish 4.2011 Community (4.5) with Nginx and PHP-FPM on Debian 6 (“Squeeze”)

Friday 06 May 2011 6:45:55 pm

  • Currently 5 out of 5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

After completing this tutorial, you should have a working eZ Publish 4.2011 Community (or 4.5) installation running on a single Debian 6 server with the following features:

  • Nginx 1.0.0+ as web server
  • PHP 5.3.6+ invoked through PHP-FPM (FastCGI Process Manager)
  • APC (Alternative PHP Cache)
  • Rewrites for friendly URLs (virtual host mode)
  • Proper http cache headers for static files
  • Gzip compression
 

Download as PDF

Introduction

Nginx is an event-driven, lightweight and high-performance HTTP server and reverse proxy/load balancer. With the recent release of Nginx 1.0.0, PHP-FPM 5.3.6 and improved documentation, it is now simpler to install and configure Nginx to serve eZ Publish sites with the same features as Apache HTTP Server while receiving the performance and memory consumption benefits of Nginx.

The tutorial covers the setup and basic configuration of Nginx, PHP/MySQL and eZ Publish 4.2011 Community Edition (4.5 Enterprise) on Debian 6. The steps can also be used as an outline for performing the same setup on other versions or distributions.

 

Pre-requisites and target population

Technical pre-requisites are a basic knowledge of web servers, Debian package installation using apt or similar, and some experience with installing or moving/upgrading eZ Publish.

The reference system for this tutorial is a clean network install of Debian 6 with admin tools only, running in a virtual machine with two 2-Ghz processors, 2 GB RAM and 16 GB hard disk space.

NOTE: All operations are assumed to be run as the root user unless otherwise specified.

 
36 542 Users on board!

Tutorial menu

Printable

Printer Friendly version of the full article on one page with plain styles

Author(s)

Proudly Developed with from