Our moodle server recently upgraded to Centos 8 , now the Apache use PHP FPM as default ( Centos 7 use Mod PHP by default ). There are no error with the moodle until today when we use the quiz.
After quiz finished , we usually download the quiz result in excel ( xlsx ) format. Excel download function was not working it’s produce error :
This site can’t be reached
We did’t update moodle, it’s version 3.8 . On Centos 7 , excel download function working fine. Since we relative new with the PHP FPM we have little trouble finding PHP Log 😀 ( default here :
/var/log/php-fpm/www-error.log ). After examine the log we found a PHP extension was not found.
Default exception handler: Exception - Class 'ZipArchive' not found
The next step should be easy , just install
dnf and don’t forget to restart the PHP FPM