enable mbstring on cloudlinux
Hello
I want to enable mbstring on php7.4 and called the following command which indicates that it is enabled
result:
But in PHP info indicates that it is disabled It should be noted that its option is enabled in the PHP Selector I need help to enable this feature Thank you Kind regards
rpm -qa |grep mbstring
result:
jetphp73-mbstring-7.3.14.2-5.x86_64
ea-php73-php-mbstring-7.3.33-3.el7.cloudlinux.x86_64
ea-php74-php-mbstring-7.4.27-5.el7.cloudlinux.x86_64
alt-php-internal-mbstring-7.4.22-2.el7.x86_64
alt-php81-mbstring-8.1.3-1.el7.x86_64
alt-php80-mbstring-8.0.16-1.el7.x86_64
alt-php73-mbstring-7.3.33-4.el7.x86_64
But in PHP info indicates that it is disabled It should be noted that its option is enabled in the PHP Selector I need help to enable this feature Thank you Kind regards
-
Hey there! I don't see the alt-php74-mbstring package present. If you're using alt-php74 that could be an issue. It would also be a good idea to check the "Loaded Configuration" line in the PHP Info page to confirm which configuration is in use. 0 -
Hey there! I don't see the alt-php74-mbstring package present. If you're using alt-php74 that could be an issue. It would also be a good idea to check the "Loaded Configuration" line in the PHP Info page to confirm which configuration is in use.
Thanks for your reply it's used /opt/alt/php74/etc/php.ini How i can install in alt-php74? Thanks0 -
I checked a CloudLinux machine and found that when running "yum groupinstall alt-php" that alt-php74-mbstring was installed by default. Can you run this command on your server to get that package installed? yum install alt-php74-mbstring
0 -
I checked a CloudLinux machine and found that when running "yum groupinstall alt-php" that alt-php74-mbstring was installed by default. Can you run this command on your server to get that package installed?
alt-php74-mbstring
Thanks for your reply I did that Result:yum groupinstall alt-php Loaded plugins: fastestmirror, rhnplugin, universal-hooks This system is receiving updates from CLN. Loading mirror speeds from cached hostfile epel/x86_64/metalink | 22 kB 00:00 * cpanel-addons-production-feed: 178.18.193.52 * cpanel-plugins: 178.18.193.52 * epel: mirror.23m.com cpanel-addons-production-feed | 2.9 kB 00:00 cpanel-plugins | 2.9 kB 00:00 MariaDB103 | 3.4 kB 00:00 cl-ea4 | 3.0 kB 00:00 cloudlinux-ea4-rollout-1 | 3.0 kB 00:00 cloudlinux-ea4-rollout-10 | 3.0 kB 00:00 cloudlinux-ea4-rollout-2 | 3.0 kB 00:00 cloudlinux-ea4-rollout-3 | 3.0 kB 00:00 cloudlinux-ea4-rollout-4 | 3.0 kB 00:00 cloudlinux-ea4-rollout-5 | 3.0 kB 00:00 cloudlinux-ea4-rollout-6 | 3.0 kB 00:00 cloudlinux-ea4-rollout-7 | 3.0 kB 00:00 cloudlinux-ea4-rollout-8 | 3.0 kB 00:00 cloudlinux-ea4-rollout-9 | 3.0 kB 00:00 cloudlinux-imunify360 | 3.0 kB 00:00 cloudlinux-rollout-1 | 3.0 kB 00:00 cloudlinux-rollout-10 | 3.0 kB 00:00 cloudlinux-rollout-2 | 3.0 kB 00:00 cloudlinux-rollout-3 | 3.0 kB 00:00 cloudlinux-rollout-4 | 3.0 kB 00:00 cloudlinux-rollout-5 | 3.0 kB 00:00 cloudlinux-rollout-6 | 3.0 kB 00:00 cloudlinux-rollout-7 | 3.0 kB 00:00 cloudlinux-rollout-8 | 3.0 kB 00:00 cloudlinux-rollout-9 | 3.0 kB 00:00 imunify360 | 3.0 kB 00:00 imunify360-rollout-1 | 3.0 kB 00:00 imunify360-rollout-2 | 3.0 kB 00:00 imunify360-rollout-3 | 3.0 kB 00:00 imunify360-rollout-4 | 3.0 kB 00:00 kernelcare | 3.0 kB 00:00 cloudlinux-x86_64-server-7 | 4.3 kB 00:00 cloudlinux-x86_64-server-7/primary_db | 56 MB 00:00 Maybe run: yum groups mark install (see man yum) No packages in any requested group available to install or update
0 -
Sorry about that - my copy paste must not have worked well in my previous reply. Can you try the command from my last post (I've edited it now) 0
Please sign in to leave a comment.
Comments
5 comments