LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Redhat Enterprise AS, php-mysql-4.3.3-4.1.i386.rpm, mysql_connect() error (https://www.linuxquestions.org/questions/linux-distributions-5/redhat-enterprise-as-php-mysql-4-3-3-4-1-i386-rpm-mysql_connect-error-147700/)

apradhan 02-18-2004 03:11 PM

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


All times are GMT -5. The time now is 12:49 PM.