Forums | Mahara Community
Support
/
Install fails - the intl extension is not installed
11 June 2022, 10:52
Mahara 22.04 installed via GIT
Ubunto 1.4.5
PHP 8.0.19
When I ran the installer from terminal I got the following error message:
Your server configuration does not include the intl extension for PHP.
However, when I view php-info I get:
intl
Internationalization support | enabled |
---|---|
ICU version | 60.2 |
ICU Data version | 60.2 |
ICU Unicode version | 10.0 |
Directive | Local Value | Master Value |
---|---|---|
intl.default_locale | no value | no value |
intl.error_level | 0 | 0 |
intl.use_exceptions | Off | Off |
Please help, I don't know what's wrong and how to fix it.
13 June 2022, 11:21
Hi Lynn,
The bit of code that checks for this https://git.mahara.org/mahara/mahara/-/blob/main/htdocs/lib/mahara.php#L82 is doing a basic extension_loaded() check. And it must be passing similar checks to get to that point.
Did you just recently add the 'intl' plugin and did you restart the webserver afterwards?
Cheers
Robert
14 June 2022, 3:13
Hi Robert,
Intl has always been installed as far as I am aware but I did try restarting the webserver anyway.
I did manage to get mahara installed but I got the following message from cron:
[WAR] d4 (lib/mahara.php:83) Your server configuration does not include the intl extension for PHP. Mahara requires this extension to parse information related to language locales.
Call stack (most recent first):
* ensure_sanity() at /var/www/vhosts/domain/httpdocs/htdocs/init.php:96
* require("/var/www/vhosts/domain/httpdocs/htdocs/init...") at /var/www/vhosts/domain/httpdocs/htdocs/lib/cron.php:17
Your server configuration does not include the intl extension for PHP. Mahara requires this extension to parse information related to language locales.
14 June 2022, 8:16
Hi Lynn,
Mahara does not yet support PHP 8. We are working on the compatibility for PHP 8.1. Maybe that's the problem after all or it's the wrong version of the PHP intl extension?
Cheers
Kristina