GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 11-Aug-2005, 00:16
Fezzen Fezzen is offline
New Member
 
Join Date: Aug 2005
Posts: 2
Fezzen is on a distinguished road
Exclamation

PHP5 + MySQL 3.23 on RedHat 9 - "mysql_connect" not found


First off, I'm aware I don't have the most recent version of MySQL, but updating that will be a pain and I can deal with it later.

I have these RPM's installed:
php-mysql-4.2.2-17 (not really relevent now that I have php5)
mysql-server-3.23.54a-11 (current server package)
mysql-3.23.54a-11 (current client package)

I successfully installed PHP5 from the source at /usr/local/php-5.0.4

However, it has no mysql support (phpinfo does not list it), and I get a "mysql_connect: function not found" etc etc error.

I tried recompiling with --with-mysql, but it requires a path to the mysql header files, and I have no idea where they are, being that it was installed via RPM.

I can provide any additional information needed. Any help is extremely appreciated.
  #2  
Old 12-Aug-2005, 07:26
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
I had a similar problem quite a while ago. My notes are available here: http://www.gidforums.com/t-842.html.

Though it's not exactly the same setup, the idea is the same, you want to update the MySQL client API. I don't know much about PHP5 (and MySQL 3+) incompatabilities or if any exist...
 
 

Recent GIDBlogToyota - 2008 July Promotion by Nihal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Info for help with Redhat..... ckone Computer Software Forum - Linux 0 23-Jul-2003 22:23
Windows: From only £20p/y,Linux: from $10p/m. ASP, ASP.NET, PHP, Free MySQL, +More EyotaHosts Web Hosting Advertisements & Offers 0 28-Jun-2003 13:54

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 18:07.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.