Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-12-2006, 12:30 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 6

Rep: Reputation: 0
I need help on this PHP error -- "Call to undefined function: mysql_connect()"

I downloaded the "php-mySQL RPM" and installed it, but I'm still getting this "Call to undefined function: mysql_connect()" error message, can anyone give me some hints?, I'm using Redhat 9 with the Apache built in, and PHP 4.2.2, mySQL 5.21

Thanks in advance...
Old 08-12-2006, 03:14 AM   #2
Registered: Oct 2005
Posts: 162

Rep: Reputation: 30
You didn't compile the MySQL Libraries into PHP. I dont know how to do it with RPM's, so you'll have to look over the README's of how to do this, it ought to be there.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GD not loaded though compiled, resulting in "Call to undefined function" czamora Linux - Software 12 08-01-2006 11:10 AM
php error: Call to undefined function: mysql_pconnect() The00Dustin Linux - Software 3 02-21-2006 09:05 PM
Call to undefined function: mysql_connect() SocialEngineer Linux - Software 2 11-16-2004 02:24 PM
"Function not implemented" error in call to "sem_open()" Krishnendu8 Linux - Newbie 1 06-07-2003 02:52 AM
"Function not imlemented" error in call to "sem_open()" Krishnendu8 Linux - Networking 0 06-07-2003 02:19 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration