LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-05-2001, 10:49 PM   #1
DR2000
LQ Newbie
 
Registered: Oct 2001
Location: Brooklyn, NY
Distribution: Red Hat 7.1
Posts: 2

Rep: Reputation: 0
MySQL and PHP


I have Red Hat 7.1. By the time I got the machine apache and php where preinstalled. I installed MySQL. Everything seems to work fine, until I try to connect to the db from PHP.

Here is the error:
Fatal error: Call to undefined function: mysql_pconnect() in /home/dr2000/somefile.php3 on line XX.

Does that mean that apache is missing some mysql plugins?

Any ideas why this could be happening? I spent all evening, and can't seem to figure it out.

Thanks for help.
 
Old 10-06-2001, 12:46 AM   #2
DR2000
LQ Newbie
 
Registered: Oct 2001
Location: Brooklyn, NY
Distribution: Red Hat 7.1
Posts: 2

Original Poster
Rep: Reputation: 0
ok. just downloaded php src from php.net, tryied to config it. some apache parts were missing, so i downloaded apachi-dev rpm. installed it. compiled php, installed it, and that solved the problem...
 
  


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
mysql-server4.1 and mod php-mysql conflig kernelvn *BSD 0 06-18-2005 11:52 AM
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 08:54 PM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 12:06 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:06 AM.

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