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