Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions
User Name
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.


  Search this Thread
Old 02-18-2004, 03:11 PM   #1
LQ Newbie
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Exclamation Redhat Enterprise AS, php-mysql-4.3.3-4.1.i386.rpm, mysql_connect() error

I've taken out MySQL 4, the new installation is below:

I've installed redhat enterprise AS with

php -v
PHP 4.3.2 (cgi), Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend

rpm -i MySQL-3.23.58-1.i386.rpm
rpm -i MySQL-shared-3.23.58-1.i386.rpm
rpm -i MySQL-client-3.23.58-1.i386.rpm
rpm -i MySQL-devel-3.23.58-1.i386.rpm

rpm -i php-mysql-4.2.2-17.2.i386.rpm
error: Failed dependencies:
php = 4.2.2-17.2 is needed by php-mysql-4.2.2-17.2

I would like to avoid re-installing php if I can. Should I try
php-mysql-4.3.3-4.1.i386.rpm? Do a google search for it, that's where I found it.

Is there something else I should be looking at?

My website error:
I have the following error on one of my php pages:
Fatal error: Call to undefined function: mysql_connect()...

Please help thanks,



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 mysql_connect error compu73rg33k Linux - Software 11 04-02-2005 05:37 AM
mysql++-1.7.9-4.rh80.i386.rpm fkrlinux Linux - Software 0 02-24-2004 06:10 AM
Redhat PHP 4.2 Problem, no mysql_connect() nehalem Linux - Software 1 11-20-2003 12:12 AM
php-mysql-4.3.2-6.i386.rpm dependencies dgp Linux - Software 2 07-17-2003 02:05 AM
php-mysql-4.2.2-8.0.7 RPM issues, should I switch to redhat 9? jstander Linux - Software 1 05-20-2003 03:31 PM > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration