LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-20-2003, 12:16 AM   #1
nehalem
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Redhat PHP 4.2 Problem, no mysql_connect()


I have everything working fine but Mysql, the most important thing for my site (used what came with redhat 9 for PHP, downloaded and installed MySql via RPM seperatley). I really am not sure what is wrong but the most basic function, mysql_connect(), throw back an error saying "Fatal error: Call to undefined function: mysql_connect() in /var/www/html/ValidateUser.php on line 16". How could this be? In the phpinfo() it says --with_mysql???

I really hope this isn't an RPM issue, as I really wanted to keep it RPM since I want to be able to upgrade it easily.

Please help me with this as it is VERY frustrating!

Thanks in advance!
 
Old 11-20-2003, 01:12 AM   #2
lynger
Member
 
Registered: Nov 2003
Posts: 36

Rep: Reputation: 15
hi nehalem,

i just found out that we're having the same problm.. i'v been tracking this prblm in this forum also since monday GMT +8.. anyway i think just like mine i configured apache mysql and php ryt but loading a code for mysql_connect giv me the same error..

maybe to solve the problm , linux is looking for a file MYSQL.SO under /usr/lib/php4/ directory..

i'm using openna linux, do you know where we could get this file??

i hope this help us both


pls also post your solution if you had solve the prblm....


thank you for your time
 
  


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
php mysql_connect error compu73rg33k Linux - Software 11 04-02-2005 06:37 AM
PHP mysql_connect Guru - Install Question/Issue whohasit Programming 4 07-16-2004 07:28 PM
mysql_connect problem w/apache+php CodeCrush Linux - Software 0 05-24-2004 09:35 AM
PHP and MYSQL ("mysql_connect") smaida Programming 4 05-18-2004 06:27 PM
Redhat Enterprise AS, php-mysql-4.3.3-4.1.i386.rpm, mysql_connect() error apradhan Linux - Distributions 0 02-18-2004 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:39 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
Open Source Consulting | Domain Registration