Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

I need to install PHP Extensions like: Fileinfo and mbstring among others

faroque

Can't get mbstring on extension list

Please let me know how to install mbstring on php 8.3 on aaPanel


faroque

aaP_darwin anyone please help me how I can install mbstring on php 8.3


aaPanel_Kern

faroque
Hello, this extension is already included by default
php83 -m


avijit

faroque Is the problem solved?


faroque

It shows Mbstring as 'No'.


aaPanel_Kern

Hello, what web service are you using? Try reinstalling php. And check the installation process for errors,
What is your CPU architecture? What is a server operating system?

faroque



zakariayacine

Hello ! I am also fetching the same issue! i did install all extensions on php8.3 but they arrent displayed in aapanel


aaPanel_Kern

zakariayacine
Hello, what is your operating system and version?


aaP_sam7075938131

aaPanel_Kern

Same issue here, with Ubuntu 20.04.6 LTS x86_64(Py3.7.9) and php 8.3


aaPanel_Kern

aaP_sam7075938131
Hello, the same system test is normal. Is it normal to try to add extensions manually?


aaP_sam7075938131

Same issue still, Do you think it will be due to ubuntu 20??


aaPanel_Kern

aaP_sam7075938131
Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
It is recommended to fill in the following
Post link:
SSH IP address, account password and port:
aapanel login link address and account password:

No post link will not be able to know which user's information is, and the problem will not be processed


aaP_neloy_dt

I ALSO FACE SAME ISSUE


aaPanel_Kern

Hello, is it normal to try to install in quick mode first and then in compiled mode?

aaP_neloy_dt


tienanhemho

My system server use Alma 9.3 (Shamrock Pampas Cat) x86_64(Py3.7.8) have same issue when install mbstring on php8.3
This is some last line of execution log:

checking if zts is enabled... no
checking for gawk... gawk
checking whether to enable multibyte string support... yes, shared
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

Package 'oniguruma', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
error
|-Successify --- Command executed! ---

After some hour of searching, finally i can know what happen.
"Package 'oniguruma', required by 'virtual:world', not found" => the configure not run complete =>make: *** No targets specified and no makefile found. Stop.
Run the command dnf --enablerepo=crb install oniguruma-devel will solve problem.


aaPanel_Kern

tienanhemho
Is it possible to install the dependencies again after trying to install them manually?

sudo yum install oniguruma-devel
sudo dnf install oniguruma-devel

aaP_bobmarley4777

Hi there Kern, would be nice when we import a project/site with oneclick migrator to set up also the extension from php, seems it's not.

Thank you


aaPanel_Kern

Hello, in order to be compatible with different systems, the php extension will not be migrated.


luckybhumkar

Executing the below command solved my mbstring issue

My Stack
๐Ÿ”ธ AlmaLinux 9.4
๐Ÿ”ธ OpenLiteSpeed 1.8.1

  1. Load repository
    sudo wget -O - https://repo.litespeed.sh | sudo bash

  2. Run any one command as per PHP version

  • PHP 7.4
    yum install lsphp74 lsphp74-mbstring
  • PHP 8.1
    yum install lsphp81 lsphp81-mbstring
  • PHP 8.2
    yum install lsphp82 lsphp82-mbstring
  • PHP 8.3
    yum install lsphp83 lsphp83-mbstring

Restart PHP!


Next Page ยป