Changing install from php as cgi to php-fpm

Re: Changing install from php as cgi to php-fpm

by Visvanath Ratnaweera -
Number of replies: 1
Picture of Particularly helpful Moodlers Picture of Translators
You need to disclose more background information like the server platform, OS version/flavour/distribution, how do you install and configure Apache (modules), etc.

If the issue is performance related, the correct forum is "Hardware and performance" https://moodle.org/mod/forum/view.php?id=596. When you start a new discussion, you'll see the full initial pointers.
In reply to Visvanath Ratnaweera

Re: Changing install from php as cgi to php-fpm

by Rance Hall -

Sorry for the delay in getting this posted.


The servers are Ubuntu 14.04.3 and the install is exclusively from .deb style packages.

These servers run Puppet for management of configs, autodeployment, etc.


We've changed the chdir in /etc/php5/fpm/pool.d/www.conf


We've changed some of the php directives in /etc/php5/fpm/php.ini

But sometimes when trying to do a course backup and all times when trying to do a course restore we get the following:

Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

Please contact the website owners to inform them of this problem.