mvan83
March 31st, 2008, 06:41 PM
I'm running a server that must use php5 along with mysql 4.1. Both are up and running along with apache 2. Trying to connect to the db from php fails. So I try to install php5-mysql, but I get the following error:
The following packages have unmet dependencies:
php5-mysql: Depends: libmysqlclient15off (>= 5.0.27-1) but it is not going to be installed
Ok. Trying to install that along with it says I must install mysql-common version 5.0 or greater. But php5-mysql can work with mysql 4.1. Here's the description for it:
Description: MySQL module for php5
This package provides modules for MySQL database connections directly from
PHP scripts. It includes the generic "mysql" module which can be used
to connect to all versions of MySQL, an improved "mysqli" module for
MySQL version 4.1 or later, and the pdo_mysql module for use with
the PHP Data Object extension.
So obviously it doesn't really need mysql 5, but by dependency on a dependency, it claims it does. Any way to get around this? (I thought dependency hell went the way of the dodo about 4 years ago...apparently not - just adds to the long list of reasons that I loathe mysql and php).
Thanks for any help you can offer.
The following packages have unmet dependencies:
php5-mysql: Depends: libmysqlclient15off (>= 5.0.27-1) but it is not going to be installed
Ok. Trying to install that along with it says I must install mysql-common version 5.0 or greater. But php5-mysql can work with mysql 4.1. Here's the description for it:
Description: MySQL module for php5
This package provides modules for MySQL database connections directly from
PHP scripts. It includes the generic "mysql" module which can be used
to connect to all versions of MySQL, an improved "mysqli" module for
MySQL version 4.1 or later, and the pdo_mysql module for use with
the PHP Data Object extension.
So obviously it doesn't really need mysql 5, but by dependency on a dependency, it claims it does. Any way to get around this? (I thought dependency hell went the way of the dodo about 4 years ago...apparently not - just adds to the long list of reasons that I loathe mysql and php).
Thanks for any help you can offer.