LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-18-2004, 03:11 PM   #1
apradhan
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
Technologies

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

Question:
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,

Anup
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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