Upgraded to PHP 5, MySQL database connections don't work

Support/Development for PHP
DanBallance
New Forum User
New Forum User
Posts: 1
Joined: Sun Jul 08, 2007 2:40 pm

Upgraded to PHP 5, MySQL database connections don't work

Unread post by DanBallance »

Hi folks,

First off I'd like to thank Scott for this site and his packages - this is a TOTAL lifesaver for me. I have got myself a years contract with a really shit VPS and I am locked into FC2 with very out of date packages. If there is anywhere here I can make a small donation, please let me know, I'm keen to support the work that is being done here.

Ok, now for my problem:

I have successfully upgraded from mysql 3.23 to 4.1.21-2.rhfc2.art

Then I have yum removed php-domxml

Then I have yum upgraded php and edited php.conf to look for php 5

The server is already runing apache 2

The PHP upgrade appears to be fine - i can see version 5 in plesk - but now I cannot get my mysql connections via php to work. For instance, my wordpress install says:

"Your PHP installation appears to be missing the MySQL which is required for WordPress."

I am assuming there is something I need to configure in the new php 5 installation to get my mysql database connectons working
?

I haven't a clue what to do though; if anyone could help me out here I'd be really grateful,

cheers,

dan :-)
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Is php-mysql installed? Also when youre going from 4->5 youve got to update php.ini and php.conf.

Donation link is on the front page!
Post Reply