obsessiveCookie
obsessiveCookie

Reputation: 1138

Cannot access phpmyadmin in apache server

I have followed this tutorial for installation of php, mysql, apache and phpmyadmin :http://www.youtube.com/watch?v=kZ2zbO6PABk and towards the end when he tried to access phpmyadmin he got the following error but resolved it :

Fatal error: Call to undefined function mb_detect_encoding() in C:\Apache24\htdocs\phpMyAdmin\libraries\php-gettext\gettext.inc on line 177

I am now still having issue. Like this question:

Fatal error: Call to undefined function mb_detect_encoding()

I have also made sure ive uncommented out and unblocked the following extensions:

extension=php_gd2.dll

extension=php_mbstring.dll

extension=php_exif.dll

extension=php_mysql.dll

extension=php_mysqli.dll

What else am I missing?

Upvotes: 0

Views: 6069

Answers (3)

Donovan Reeve
Donovan Reeve

Reputation: 1

On my install I found that the 4 instructions lines above the 'extension_dir="C:/..." entry in the php.ini file were not properly commented out. So nothing after that in the config file seemed to work. Including the set path to the extension_dir. So the mbstring.dll wasn't loading. I added semi-colons to comment them out, restarted Apache, and Viola! The hirokoymj.com page listed above was a big help!

Upvotes: 0

Senthil
Senthil

Reputation: 1

I faced this problem too. The problem is that settings in PHP.INI is no incorrect. Mysql is not longer enabled by default. you got to enable the dll in the PHP.INI among other dlls.

http://www.hirokoymj.com/Install_phpMyAdmin.php

These are some of the dlls that you have to uncomment in php.ini curl, gd2, mysql, mqsqli, mbstring, pdo_mysql, phar, soap, zip

It works like a charm after having changed the settings!

Upvotes: 0

obsessiveCookie
obsessiveCookie

Reputation: 1138

added PHPINIDir "C:\php" in http.conf and it now works

Upvotes: 3

Related Questions