- Plesk Onyx for Windows
Unable to install Moodle via Domains > example.com > Applications. The installation is stuck on 96% and then the error occurs:
CONFIG_TEXT: HTTP Error 404.15 - Not Found
Domain has PHP 5.6 or below.
"intl" and "fileinfo" modules are enabled for PHP 5.6 in Tools & Settings > PHP Settings.
After a failed attempt,
phpinfo()shows, that PHP 7.0 is set on the domain.
In Plesk debug log the following information can be found:
CONFIG_TEXT: Moodle 3.5 (Build: 20180517) command line installation program
== Environment ==
!! php_extension intl !!
must be installed and enabledIntl extension is required to improve internationalization support, such as
locale aware sorting and international domain names.
!! php_extension fileinfo !!
must be installed and enabled
Since Moodle 3.3 require PHP 7.0 or newer, PHP version was switched. Intended PHP version was not checked for required extensions before the installation. It is Plesk bug #PPPM-8964 which is planned to be fixed in future product updates.
Set PHP 7.0 or higher for the domain in Domains > example.com > PHP Settings.
Enable "intl" and "fileinfo" for selected PHP version in Tools & Settings > PHP Settings.