-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error PHP You are using a fallback implementation of the intl extension. #10655
Comments
Did install php-intl extension, restarted Apache. Got it, error gone! |
Closed. |
A typo? I installed php-intl instead. |
Yeah, „intl“ is correct. Just edited it - thanks for the comment! |
In my case:
|
thx, problem solved. |
I'm new to programming. How do I install the php-intl extension? I use cpanel. Thanks in advance. |
It works w/ nextcloud 14.0.3 Thx. |
Using Arch. php-intl was already installed, and turned on in php.ini, but problem still exists. Restarted nginx. Also why is this logged every second? |
@diederickdevries Please use help.nextcloud.com for configuration issues. Most people use nginx with php fpm. I guess you should restart fpm as well to load new php modules. |
Yes, that was it. Thanks! |
Hey Guys, I still see this messages even php-intl is installed.
I compiled php 7.3.2 from source with:
php -v
php -m
php -i
But I am still seeing the error messages popping up all the time.
|
@carloscomputer @de4niih Your Apache might be using another |
That's quite a interesting approach - but I am using "event" mpm as eventhandler - therefore apache is passing requests over to the php socket created for the site. Apache itself is not chewing the php gum. Placing a |
Hi ; Like de4niih, I installed php-intl and I still have this problem. I restart my server after so it's quite confusing. Tks for any help |
I have the same problem with nextcloud 15.0.5. intl extension is installed and active (as confirmed py phpinfo()), the message persists blaming |
I have exactly the same problem. php-fpm 116329 nextcloud mem REG 254,4 2648576 295188 /opt/phpbrew/php/php-7.1.21/lib/php/extensions/no-debug-non-zts-20160303/intl.so intl Internationalization support => enabled version => 1.1.0 ICU version => 52.1 ICU Data version => 52.1 Directive => Local Value => Master Value intl.default_locale => no value => no value intl.error_level => 0 => 0 intl.use_exceptions => 0 => 0 To be clear, having an active patchwork plugin, the error will always be triggered. @trigger_error('You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead.', E_USER_DEPRECATED); There's no if or anything else. |
https://github.com/nextcloud/3rdparty/blob/master/patchwork/utf8/src/Patchwork/Utf8/Bootup.php#L108-L122 here is the conditional you are looking for. If On most systems there are different php configurations for cli/cgi/fpm/apache2. You need to enable the module for cli and your webserver (cgi, fpm or apache2 depends on your setup). |
Found the problem, Thx. |
@fskale Spot on, thank you very much! It was also the cronjob in my case. It was using a different php version which did not have intl. Problem fixed now. |
Logfile-Error after updating to 14.0 Beta 3, logs each second:
Error PHP You are using a fallback implementation of the intl extension. Installing the native one is highly recommended instead. at /var/www/nextcloud/3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php#18
The text was updated successfully, but these errors were encountered: