LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 08-12-2006, 01:30 AM   #1
yzh999
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, 04:14 AM   #2
ckoniecny
Member
 
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.
 
  


Reply


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 12:10 PM
php error: Call to undefined function: mysql_pconnect() The00Dustin Linux - Software 3 02-21-2006 10:05 PM
Call to undefined function: mysql_connect() SocialEngineer Linux - Software 2 11-16-2004 03:24 PM
"Function not implemented" error in call to "sem_open()" Krishnendu8 Linux - Newbie 1 06-07-2003 03:52 AM
"Function not imlemented" error in call to "sem_open()" Krishnendu8 Linux - Networking 0 06-07-2003 03:19 AM


All times are GMT -5. The time now is 10:54 PM.

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