Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mysql and php issue

Status
Not open for further replies.

rninja

Technical User
Apr 11, 2001
381
US
Hello everyone!
I am having trouble with my apache/mysql/php stuff. Apache on port 80 works fine but when I try to use ssl, it seg faults. Now php will not communicate with the mysql database. I get this message:

Fatal error: Call to undefined function: mysql_connect() in /usr/local/apache/htdocs/catalog/includes/functions/database.php on line 19

I figure it has something to do with the php-mysql rpm that I took off, because I upgraded php to the latest and that rpm (the only one I could find on rpmfind.net) was one version older.

What exact packages or tar.gz'iped files do I need to clean this up?

Thanks for any help! Rninja

smlogo.gif

 
What os redhat?
Set up an account at redhat and a profile (both free) and use their up2date facility to get your self sorted out.
If your machinbe has net access type in up2date php and up2date mysql

Check the logs and stuff after intstalls are done as config files tend to have the extension .rpmnew or similar.
you need to backup your old one and then rename the new one. ______________________________________________________________________
There's no present like the time, they say. - Henry's Cat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top