Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-02-2004, 04:49 PM   #1
LQ Newbie
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
php 438 and mysql 41 fedora 2 wont talk

I am totally frustrated. This morning I had a working server (Fedora Core 2) running PHP 4.3.8 and mySQL 3.23. It has taken me the day to get mySQl 4.1 installed and working, but I can't get PHP and Mysql to communicate.

I had to erase the package mysql-4.3.8-2.1.i386.rpm in order to install mysql and when I tried to reinstall it it complained of missing dependancy ( was installed as part of mysql installation) so I finally found a package with in it in downloads for version 4.0 and installed that then installed the php-mysql package successfully.

BUT in phpinfo() it shows the client API version as 3.23.38 - not a good sign, and when I run a php script I get the error "Call to undefined function mysql_connect()".

Any suggestions at all as to how to get this working would be very welcome.


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 5 wont connect to MySql (fedora spacy2003 Linux - Software 0 02-07-2005 09:31 AM
Domo and mysql wont talk linux_console Linux - Software 0 08-08-2004 10:50 PM
php wont talk to postgresql Pete Dogg Linux - General 1 09-10-2003 08:20 PM
php wont talk to postgresql Pete Dogg Linux - Software 0 09-10-2003 04:16 PM
getting php and mysql to talk! modestmouse Programming 4 04-04-2003 12:32 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:52 PM.

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