Your PHP installation appears to be missing the MySQL extension which is required by WordPress on freebsd 9

Install WP 3.5 di server frebsd 9 muncul tampilan error : “Your PHP installation appears to be missing the MySQL extension which is required by WordPress”. Setelah mencoba menganalisis ketemu penyebanya bahwa modul yg terinstall di php adalah mysqli (mysql improved) sehingga ekstensi yg ada baru php5-mysqli.

Maka muncul pesan error diatas “missing MySQL extension”….

Solusinya install saja ektensi php5-mysql sbb


bagus# cd /usr/ports/databases/php5-mysql
bagus# make install clean
===> Checking if databases/php5-mysql already installed
===> Registering installation for php5-mysql-5.4.10
****************************************************************************

The following line has been added to your /usr/local/etc/php/extensions.ini
configuration file to automatically load the installed extension:

extension=mysql.so

****************************************************************************
===> Cleaning for php5-mysql-5.4.10

Kemudian restart webserver :

bagus# apachectl restart

Refresh web broswer, maka pesan error sudah hilang masuk kehalaman awal instalasi WP 3.5