MyBB Community Forums

Full Version: Supported DB Extensions on a Localhost.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am installing MyBB on a localhost, however, I have run into many errors. I already altered the CHMOD for the files and folders that it needed, and yes, I renamed config.default.php to config.php first.

The error that MyBB is parsing is that there is no DB extension, but there is a DB extension on my computer. There is MySQL (proof: http://i.imgur.com/1IBJ3Pv.png )

Here is my PHP version: http://i.imgur.com/azfQdPS.png

I run Linux Mint 16 "Petra" (XFCE).

So if anyone could help me, please do.
What exactly is the error?

It sounds like it's referring to the database PHP extension (e.g. php5-mysql, php5-pgsql, php5-sqlite). You need to install one separately in addition to MySQL itself.
(2014-05-24, 09:35 PM)Duubz Wrote: [ -> ]I am installing MyBB on a localhost, however, I have run into many errors. I already altered the CHMOD for the files and folders that it needed, and yes, I renamed config.default.php to config.php first.

The error that MyBB is parsing is that there is no DB extension, but there is a DB extension on my computer. There is MySQL (proof: http://i.imgur.com/1IBJ3Pv.png )

Here is my PHP version: http://i.imgur.com/azfQdPS.png

I run Linux Mint 16 "Petra" (XFCE).

So if anyone could help me, please do.

Did you create a Database for it?
mysqladmin -u root -p create DB_NAME


Edit: I read that wrong..

sudo apt-get install php5-mysql

Then restart apache2
/etc/init.d/apache2 restart
(2014-05-24, 09:41 PM)Fábio Maia Wrote: [ -> ]What exactly is the error?

It sounds like it's referring to the database PHP extension (e.g. php5-mysql, php5-pgsql, php5-sqlite). You need to install one separately in addition to MySQL itself.

(2014-05-24, 09:42 PM)Ace700 Wrote: [ -> ]
(2014-05-24, 09:35 PM)Duubz Wrote: [ -> ]I am installing MyBB on a localhost, however, I have run into many errors. I already altered the CHMOD for the files and folders that it needed, and yes, I renamed config.default.php to config.php first.

The error that MyBB is parsing is that there is no DB extension, but there is a DB extension on my computer. There is MySQL (proof: http://i.imgur.com/1IBJ3Pv.png )

Here is my PHP version: http://i.imgur.com/azfQdPS.png

I run Linux Mint 16 "Petra" (XFCE).

So if anyone could help me, please do.

Did you create a Database for it?
mysqladmin -u root -p create DB_NAME


Edit: I read that wrong..

sudo apt-get install php5-mysql

Then restart apache2
/etc/init.d/apache2 restart

Fixed. Thanks to both of you.