Skip to main content

Could not connect to the database. Connector returned number: The MySQL adapter mysqli is not available

Hari ini dapat problem saat mau instalasi 
apache 2.4, 
php 5.5 dan 
mysql 5.1

untuk install joomla 3.2

Muncul problemnya: Could not connect to the database. Connector returned number: The MySQL adapter mysqli is not available
error muncul saat proses instalasi joomla pada tahap "Database"

Database Type: None 

mekanisme cek:

  • cek pake <? phpinfo(); ?> ternyata driver mysql belum muncul.


solusinya:
1. buka php.ini 

Edit kode berikut:
; Directory in which the loadable extensions (modules) reside.
; http://php.net/extension-dir
; extension_dir = "./"
; On windows:
extension_dir = "ext"

Uncomment mysql modules
extension=php_mysql.dll
extension=php_mysqli.dll

2. Kemudian load semua module pada php
c:\> php -m [enter]

3. Restart apache


Done! Success!

Source: 
http://lifeofageekadmin.com/how-install-apache-2-4-php-5-4-and-mysql-5-5-21-on-windows-7/

Comments