Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

phpmyadmin error: The mysqli extension is missing. Please check your PHP configuration

Tags:

phpmyadmin

I go to Apache24>conf>httpd and change index.html to index.php. After that i refresh Apache in services and to http://localhost/phpmyadmin/ and recieve the following error:

phpMyAdmin- Error

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

 <a href="Documentation.html#faqmysql" target="documentation"><img class="icon" src="./themes/pmahomme/img/b_help.png" width="11" height="11" alt="Documentation" title="Documentation" /></a>

Can any one help me understand this error?

like image 539
Haris Khan Avatar asked Jul 08 '14 16:07

Haris Khan


2 Answers

  1. Install php5-mysql extension by apt-get install php5-mysql command
  2. Add extension=mysqli.so (near other 'extension=' lines) line to your php.ini
  3. Restart apache service by /etc/init.d/apache2 restart command
like image 85
bullet28 Avatar answered Nov 04 '22 06:11

bullet28


Try visiting phpmyadmin here...

http://127.0.0.1/phpmyadmin/

instead of

http://localhost/phpmyadmin/

like image 45
Ajay Kulal Avatar answered Nov 04 '22 07:11

Ajay Kulal