PHP5 and MySQL problems

Chris
Posts: 845
Joined: Fri 15 Aug, 2003 19.03
Location: Surrey

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.
User avatar
Pete
Posts: 7628
Joined: Fri 15 Aug, 2003 13.36
Location: Dundee

get PHP4 then
"He has to be larger than bacon"
Orry Verducci
Posts: 98
Joined: Sun 19 Dec, 2004 18.42
Location: Cambridgeshire

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.
Chris
Posts: 845
Joined: Fri 15 Aug, 2003 19.03
Location: Surrey

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*
Orry Verducci
Posts: 98
Joined: Sun 19 Dec, 2004 18.42
Location: Cambridgeshire

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.
Please Respond