Page 1 of 1

PHP5 and MySQL problems

Posted: Mon 19 Dec, 2005 23.26
by Chris
OK I'm having a right old time getting PHP5 to work with MySQL.

I am trying to install phpBB and an image gallery (4images) but none of them seem to work at all.

phpBB just says the database is not compatible. I have selected the MySQL 4.x option and it says the database type is wrong, or somesuch crap.

4images just had some sort of error, again with MySQL.

I have also managed to acquire vBulletin and that was much more helpful - and it said that I needed to enable MySQL within PHP. Unfortunately, PHP5 does not come installed with the said libraries, and even after downloading the packages and putting the libraries in the PHP folders they still do not register on the system. Apparently this is a problem with PHP5. :?

Help me, before I lose all sanity.

Posted: Tue 20 Dec, 2005 07.18
by Pete
get PHP4 then

Posted: Tue 20 Dec, 2005 21.20
by Orry Verducci
Yes, PHP5 can be a pain, especially with phpBB. Try selecting MySQL 3.x, this tends to work. As for MySQL 4.x, I've never got that to work with phpBB, despite that I'm using it.

Posted: Tue 20 Dec, 2005 21.56
by Chris
Orry Verducci wrote:Yes, PHP5 can be a pain, especially with phpBB. Try selecting MySQL 3.x, this tends to work. As for MySQL 4.x, I've never got that to work with phpBB, despite that I'm using it.
Yes, if only I had known about it previously.

I downgraded to PHP4 today and although I the setup for vbulletin and phpbb to load, I couldn't proceed further as I kept on getting a "could not connect to database" error with phpbb, and with vbulletin i got a "The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file." error, even though the values I've entered are all correct.

Plus 4images still does not work properly. I now get another error when trying to set it up. Perhaps it's time to downgrade to My SQL 3?

*screams*

Posted: Wed 21 Dec, 2005 20.07
by Orry Verducci
I wouldn't downgrade MySQL. Sounds like one of MySQL's settings (or several of them) are seriously mis-configured. I would try reinstalling MySQL as a starter to see if it helps.