LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-01-2003, 05:43 AM   #1
jalberts
LQ Newbie
 
Registered: Oct 2003
Location: South Africa (Bloem)
Distribution: RH 7.3
Posts: 1

Rep: Reputation: 0
Unhappy Redhat7.3/PHP/MySql


Hi,

I installed RH7.3 with Apache 1.3.23-11 and php 4.1.2-7. I then downloaded, compiled and installed MySQL 4.0.15.

I can connent to MySQL and create and edit databases just fine. I can also use PHP scripting in webpages and my webserver parses the PHP just fine. It is only when I try to connect to a MySQL database through PHP that I get:

Fatal error: Call to undefined function: mysql_connect()

I have also tried to install php-mysql-4.1.2-7 but get the following failed dependencies:

mysql is needed by php-mysql-4.1.2-7
libmysqlclient.so.10 is needed by php-mysql-4.1.2-7

I don't understand this, since MySQL is installed and functioning properly.

I am very new to Linux so please excuse me if this is a stupid question.

Thanx
 
Old 10-01-2003, 06:22 AM   #2
darrenp
Member
 
Registered: Sep 2003
Location: Lancaster, UK
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
Try finding a package mysql-client or something similar on the install CD's. You can have the server installed and working fine, but a lot of the client side libraries won't be installed.
 
  


Reply



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
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM
Php redhat7.3 toolshed Linux - General 5 07-05-2002 03:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:11 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