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 5: Reload PHP and Nginx

/etc/init.d/php5-fpm restart
/etc/init.d/nginx restart
 

Step 6: Install or move eZ Publish

Download and unpack the eZ Publish distribution to the chosen web root directory (YOUR_EZPUBLISH_ROOT) and install as normal. You can also move an existing installation, but it should be upgraded to eZ Publish 4.5 or 4.2011 Community Edition because of issues with fastcgi in earlier versions.

See http://doc.ez.no for instructions on how to install or upgrade eZ Publish.

 

Step 7: Update eZ Publish site settings

eZ Publish doesn't automatically recognise virtual host mode on Nginx as opposed to Apache.

When you are done installing/moving, in settings/override/site.ini.append.php, add the following under the [SiteAccessSettings] block:

ForceVirtualHost=true
 

Step 8: Flush caches

su - www-data
cd YOUR_EZ_PUBLISH_ROOT
php bin/php/ezcache.php --clear-all --purge<span> 
</span>
 
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