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
Friday 06 May 2011 6:45:55 pm
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 cgi.fix_pathinfo=0
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