LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
LinkBack Search this Thread
Old 01-25-2004, 09:53 PM   #1
BrianK
Senior Member
 
Registered: Mar 2002
Location: Los Angeles, CA
Distribution: Debian, Ubuntu
Posts: 1,334

Rep: Reputation: 51
apache2.0, php4.2.2, & mysql3.23.58 - undefined function: mysql_pconnect()


I know I'm doing something stupid here, but I can't seem to find it. Anyone know why I'd be getting undefined function: mysql_pconnect()?

My box is running RH9.

phpx.ini has all the mysql stuff in (it's not commented out).

am I missing a connection somewhere?

FYI:
rpm -qa
php-4.2.2-17.2
php-ldap-4.2.2-17.2
php-imap-4.2.2-17.2
php-mysql-4.2.2-17.2
mysql-3.23.58-1.9
mysql-server-3.23.58-1.9
mod_auth_mysql-1.11-12
php-mysql-4.2.2-17.2
httpd-2.0.40-21.9

Thanks
 
Old 01-26-2004, 03:11 PM   #2
Ashkhan
Member
 
Registered: Oct 2003
Distribution: Debian, Solaris, MacOS
Posts: 39

Rep: Reputation: 16
Try to run phpinfo() from your script and see if you really have compiled/installed mysql support.
Does mysql_connect work?
 
Old 02-22-2004, 06:58 AM   #3
decentsins
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
mysql_connect()

Hey fellas, I 've tried this many a times and i can't seem to get it right. I keep on getting the msg "Fatal Error: Call to undefined function mysql_connect()...
Help me solve this.

Regards.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache2 + php4 atheist Linux - Software 6 10-25-2004 03:12 PM
Mandrake & Apache2/php4.2.3 how to enable GD extensions sablecurls Mandriva 1 07-09-2004 02:35 PM
Apache2 & prefork MPM, PHP4 XTJ7 Linux - Software 6 04-29-2004 02:43 PM
Debian, apache2 and php4 Pasi Linux - Distributions 1 03-20-2003 07:28 PM
Apache2 & php4 CyberDrake Linux - Newbie 2 11-25-2002 11:32 AM


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

Main Menu
 
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
Open Source Consulting | Domain Registration