This site has been archived. To learn more about our current products Ibexa Content, Ibexa Experience, Ibexa Commerce head over to the Ibexa Developer Portal

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

Step 3: Configure PHP-FPM

Update the files listed below. You need to substitute local variables where noted.

In /etc/php5/fpm/pool.d/www.conf:

listen = /tmp/php-fpm.sock

Since this is a single-server installation, we will configure PHP-FPM to listen on a unix socket as opposed to a tcp/ip socket, thus bypassing the tcp/ip stack.

The socket file can be placed anywhere you like – this is just an example for convenience. Just make sure it’s in a writable directory, and remember that Nginx has to be pointed to the same location in Step 4.

In /etc/php5/fpm/php.ini:

date.timezone = "YOUR TIME ZONE, such as Europe/Oslo"
short_open_tag = On
memory_limit = 256M
max_execution_time = 120

NOTE: the last setting is very important as it prevents a security issue when running PHP in cgi mode.


In /etc/php5/cli/php.ini:

date.timezone = "YOUR TIME ZONE, such as Europe/Oslo"
max_execution_time = 120
36 542 Users on board!

Tutorial menu


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


Proudly Developed with from