I fixed my problem, for those that are interested. I have now discovered the beauty of compiling from source. I ended up downloading php from the php.org site and compiled it. It repaired all php/mysql relationships and files and fixed my problem. These is latest of several occurances (not just php/mysql) where I was able to solve a problem by skipping the rpm and just compiling from source. Has anyone else found this to be the case? On Wednesday 27 October 2004 02:42 pm, Michael Cortes wrote: > Here is another situation I find myself in. I did a rm -rf /var/* installed a new harddrive as /dev/hdd0. I installed the old harddrive as > hdd1. I did a new installation of 7.3 on hdd0 and copied the old /home and > /etc to hdd0. > > I have the email server back, the dns back, am working on the web site. I > was just finishing up and restoring a php/mysql calendar and I got an > error "call to undefined function: mysql_connect()" > > I get dependency errors like " php = 4.1.2-7.3.6 is needed bye > php-imap-4.1.2-7.3.6 > > so i rpm -U php-4.1.2-7.3.6.i386.rpm and I get "package > php-devel-4.1.2-7.3.6 is already installed" > > so I rpm -q php and i get "php-4.1.2-7 -- Michael Cortes Fort LeBoeuf School District 34 East Ninth Street PO Box 810 Waterford PA 16441-0810 814.796.4795 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php