I have the same issue in PHP 8.3:
selecting download node...
--2024-10-18 20:42:55-- https://node.aapanel.com/install/3/mbstring.sh
Resolving node.aapanel.com (node.aapanel.com)... 172.67.171.7, 104.21.79.196, 2606:4700:3034::ac43:ab07, ...
Connecting to node.aapanel.com (node.aapanel.com)|172.67.171.7|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2702 (2.6K) [application/octet-stream]
Saving to: ‘mbstring.sh’
0K .. 100% 43.8M=0s
2024-10-18 20:42:55 (43.8 MB/s) - ‘mbstring.sh’ saved [2702/2702]
selecting download node...
https://na1-node.bt.cn
selecting download node...
mbstring.sh: line 46: cd: /www/server/php/83/src/ext/mbstring: No such file or directory
Cannot find config.m4.
Make sure that you run '/www/server/php/83/bin/phpize' in the top level source directory of the module
mbstring.sh: line 48: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
error
|-Successify --- Command executed! ---
I solved it by doing this:
Install imagemagick first then fileinfo and finally install mbstring.
In the latest 8.3 PHP version of aapanel, you can't install mbstring without installing imagemagick and fileinfo first.
Thanks to @aaP_hk2263247