user29295208
user29295208

Reputation: 1

Phpmyadmin return blank page on digital ocean vps with LAMP installed (mbstring error)

My php version is 8.4.3, it does list mbstring as installed. I also installed all the other dependencies including all recommendations I could find on the internet

Apache2 error log:

[Tue Feb 11 11:37:56.141489 2025] [php:error] [pid 141712] [client 172.69.68.31:22010] PHP Fatal error: Uncaught Error: Call to undefined function mb_strpos() in /usr/share/phpmyadmin/libraries/classes/Url.php:263\nStack trace:\n#0 /usr/share/phpmyadmin/libraries/classes/Url.php(213): PhpMyAdmin\Url::getArgSeparator()\n#1 /usr/share/phpmyadmin/libraries/classes/Url.php(176): PhpMyAdmin\Url::getCommonRaw()\n#2 /usr/share/phpmyadmin/libraries/classes/Core.php(752): PhpMyAdmin\Url::getCommon()\n#3 /usr/share/phpmyadmin/libraries/classes/Core.php(339): PhpMyAdmin\Core::linkURL()\n#4 /usr/share/phpmyadmin/libraries/classes/Core.php(366): PhpMyAdmin\Core::getPHPDocLink()\n#5 /usr/share/phpmyadmin/libraries/classes/Core.php(994): PhpMyAdmin\Core::warnMissingExtension()\n#6 /usr/share/phpmyadmin/libraries/common.inc.php(131): PhpMyAdmin\Core::checkExtensions()\n#7 /usr/share/phpmyadmin/index.php(15): require_once('...')\n#8 {main}\n thrown in /usr/share/phpmyadmin/libraries/classes/Url.php on line 263

Tried reinstalling phpmyadmin, enabling mbstring in php.ini and installed dependencies recommended on the internet.

I followed the Digital ocean guide step by step for my first install of phpmyadmin (they say to use apt install which install version 5.1.1 not the up to date one)

UPDATE:

When i run the index.php file in phpmyadmin folder i get the following errors: PHP Warning: Module "mbstring" is already loaded in Unknown on line 0

UPDATE:

Fixed the blank page by installing the lastest version of phpmyadmin manually instead of using apt install which only install 5.1.1. I followed this guide for manual install: https://rushiinfotech.in/install-phpmyadmin-on-ubuntu/

Now when I try to use mysql it says: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I tried while allowing password and using sql password provided by default on my vps but it did not work

Upvotes: 0

Views: 28

Answers (0)

Related Questions