[3.9.1]Switch to PHP FPM

Re: [3.9.1]Switch to PHP FPM

by Leon Stringer -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers

I don't know if it will apply to a managed server – it will depend on the PHP-FPM configuration – but one problem I encountered on CentOS 7 was that with mod_php Apache was reading and writing files (e.g. in Moodledata) as user apache but on switching to PHP-FPM files were accessed as user php-fpm. This resulted in file permission issues and access had to be changed accordingly, mainly changing file ownership.

Average of ratings: Useful (1)