phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post your questions about Web Server usage and Apache + PHP + MySQL/SQLite web applications.
Post Reply
peppebytes
Starting out
Posts: 22
Joined: Wed Apr 02, 2014 7:46 pm

phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post by peppebytes »

Hi,

with last update i have this error when i try to open phpMyAdmin web page:

PHP 5.5.27
phpMyAdmin Q4.0.10.20
QNAP 4.3.3.0361 build 20171101

The mbstring extension is missing. Please check your PHP configuration.

i tryed to reinstall phpMyAdmin- without result.

The extension (mbstring.so) are present in these folders:
/mnt/ext/opt/apache/modules/
and
/share/HDA_DATA/.qpkg/PHP/modules

and it is present inside this file
/etc/config/php.d/ext.ini


someone can help me?
peppebytes
Starting out
Posts: 22
Joined: Wed Apr 02, 2014 7:46 pm

Re: phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post by peppebytes »

i have checked if the module is loaded

[/] # php -m
[PHP Modules]
bcmath
bz2
calendar
ctype
date
dba
dom
exif
filter
ftp
hash
json
libxml
mbstring
openssl
pcre
posix
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlwriter
xsl
zlib

[Zend Modules]
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post by Toxic17 »

Try installing a newer phpmyadmin to your unknown NAS. 4.7.4 is the latest by QNAP.

https://www.qnap.com/en-uk/app_center/c ... 3.3&seq=92

or manually install it here:

https://files.phpmyadmin.net/phpMyAdmin ... guages.zip

uninstall phpmyadmin from app center. then extract zip file to the Web Folder. edit the config.user.inc.php to your requirements, and thats it. also use a .htaccess to block any external access from the net.
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
peppebytes
Starting out
Posts: 22
Joined: Wed Apr 02, 2014 7:46 pm

Re: phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post by peppebytes »

Toxic17 wrote:Try installing a newer phpmyadmin to your unknown NAS. 4.7.4 is the latest by QNAP.

https://www.qnap.com/en-uk/app_center/c ... 3.3&seq=92

or manually install it here:

https://files.phpmyadmin.net/phpMyAdmin ... guages.zip

uninstall phpmyadmin from app center. then extract zip file to the Web Folder. edit the config.user.inc.php to your requirements, and thats it. also use a .htaccess to block any external access from the net.
With new phpMyAdmin i have this error:

Code: Select all

Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() in /share/HDA_DATA/Web/phpMyAdmin2/vendor/symfony/polyfill-mbstring/Mbstring.php on line 363
User avatar
Toxic17
Ask me anything
Posts: 6469
Joined: Tue Jan 25, 2011 11:41 pm
Location: Planet Earth
Contact:

Re: phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post by Toxic17 »

looks like something missing in the compilation of php...


I'm guessing you could try newer beta firmware.

https://www.qnap.com/en-uk/download?mod ... y=firmware QTS 4.3.4 Build 0374.

my build in php is version: 5.6.31.

If after that you still have issues, I would Submit a ticket with QNAP to either raise awareness the firmware for the TS-131P has an incomplete PHP installation or it needs updating to the same as other 4.3.4 QTS's
Regards Simon

Qnap Downloads
MyQNap.Org Repository
Submit a ticket • QNAP Helpdesk
QNAP Tutorials, User Manuals, FAQs, Downloads, Wiki
When you ask a question, please include the following


NAS: TS-673A QuTS hero h5.1.2.2534 • TS-121 4.3.3.2420 • APC Back-UPS ES 700G
Network: VM Hub3: 500/50 • UniFi UDM Pro: 3.2.9 • UniFi Network Controller: 8.0.28
USW-Aggregation: 6.6.61 • US-16-150W: 6.6.61 • 2x USW Mini Flex 2.0.0 • UniFi AC Pro 6.6.62 • UniFi U6-LR 6.6.62
UniFi Protect: 2.11.21/8TB Skyhawk AI • 3x G3 Instants: 4.69.55 • UniFi G3 Flex: 4.69.55 • UniFi G5 Flex: 4.69.55
peppebytes
Starting out
Posts: 22
Joined: Wed Apr 02, 2014 7:46 pm

Re: phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post by peppebytes »

I removed the PHP version listed in my app center, without any re-installation, maybe this is an old version i installed many time ago.
the release listed now is PHP: 5.6.31
Is the PHP a built-in feature on QNAP?

Now it works fine.
kimborg
Starting out
Posts: 17
Joined: Thu Oct 31, 2013 6:33 pm

Re: phpMyAdmin error - The mbstring extension is missing. Please check your PHP configuration.

Post by kimborg »

Exactly the same issue, and the same soution: Deleted php 5.5.27 app, and access was granted iin phpMyAdmin.
Post Reply

Return to “Web Server & Applications (Apache + PHP + MySQL / SQLite)”