This is what comes up when I try to go to localhost/phpmyadmin. I have tried restarting Apache and my browser multiple times. I am just setting all of this up for the first time, so I'm not really sure how to phrase my question, and I don't really understand what the error is telling me, so any clarification on that would be greatly appreciated.
Fatal error: Uncaught Error: Call to undefined function __() in C:\Apache\htdocs\phpmyadmin\libraries\sanitizing.lib.php:135
Stack trace:
#0 C:\Apache\htdocs\phpmyadmin\libraries\Message.php(586): PMA_sanitize('Undefined index...', false, true)
#1 C:\Apache\htdocs\phpmyadmin\libraries\Message.php(650): PMA\libraries\Message::decodeBB('Undefined index...')
#2 C:\Apache\htdocs\phpmyadmin\libraries\Error.php(167): PMA\libraries\Message->getMessage()
#3 C:\Apache\htdocs\phpmyadmin\libraries\ErrorHandler.php(157): PMA\libraries\Error->getHash()
#4 C:\Apache\htdocs\phpmyadmin\libraries\ErrorHandler.php(121): PMA\libraries\ErrorHandler->addError('Undefined index...', 8, 'C:\\Apache\\htdoc...', 285, true)
#5 C:\Apache\htdocs\phpmyadmin\libraries\core.lib.php(285): PMA\libraries\ErrorHandler->handleError(8, 'Undefined index...', 'C:\\Apache\\htdoc...', 285, Array) #6 C:\Apache\htdocs\phpmyadmin\libraries\core.lib.php(312): PMA_getPHPDocLink('book.mbstring.p...')
#7 C:\Apache\htdocs\phpmyadmin\libraries\core.lib.php(954): PMA_warnM in C:\Apache\htdocs\phpmyadmin\libraries\sanitizing.lib.php on line 135
I am very new to programming, so I apologize if this is something that was resolved before. I am still unsure how to phrase many of my questions to get the results that I am looking for.
I suggest you to follow this suggestion Unable to open phpmyadmin directory: Call to undefined function
It worked for me.
[...] ensure that the following extensions are enabled within your
php.ini
file:
extension=php_bz2.dll
extension=mbstring.dll
extension=mysqli.dll
Take the time while doing so to verify that the
extension_dir
property is also properly set. Remember to fully restart Apache usinghttpd -k stop
andhttpd -k start
in order for changes made to php.ini or other configuration files to take effect ashttpd -k restart
sometimes doesn't propagate the changes.