Re: app breaks after upgrade of php
| From: | Ed Greenberg | Date: | Sat, 05 Aug 2023 23:53:50 +0000 |
| Subject: | Re: app breaks after upgrade of php | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328245@lists.php.net to get a copy of this message | ||
It looks like you have the shared library in a PHP 7 directory but you are
upgrading to PHP 8. You need to reinstall all the modules from the same
version as your PHP8.
On Sat, Aug 5, 2023, 19:06 Michael Rasmussen <michael@michaelsnet.us> wrote:
> short story
> had running application for years (MediaWiki)
> did an upgrade via OS (arch linux
pacman -Syu)
> app now broken with:
> You are missing a required extension to PHP that MediaWiki requires to
> run. Please install:
> *intl* (more information <https://www.php.net/intl>)
>
> I was upgrading to version 8.2.9-1
>
> Verified that nothing had changed php.ini:
>
> grep intl /etc/php/php.ini
> extension=intl.so
> [intl]
> ;intl.default_locale =
> ; happens within intl functions. The value is the level of the error
> produced.
> intl.error_level = E_WARNING
> intl.use_exceptions = 0
>
> And the .so file still exists:
> ls -l /usr/lib/php7/modules/intl.so
> -rwxr-xr-x 1 root root 481424 Dec 12 2022 /usr/lib/php7/modules/intl.so
>
>
> What caused this problem?
> What do you suggest for resolving this issue?
>
>
>
>
> --
>
> Michael Rasmussen
> Be Appropriate && Follow Your Curiosity
> And don't forget to narrow your scope.
>