While php5-sapi-r1 depended on >=dev-db/mysql-3.23.26, -r2 now depends on =dev-db/mysql-4.0*, excluding >dev-db/mysql-4.0* like MySQL 4.1. Since mod_php-5.0.4 inherits from -r2, it forces MySQL to be downgraded to some 4.0 version (in my case from 4.1.12 to 4.0.24-r2). mod_php-5.0.3 worked fine with MySQL 4.1. I'm in strong need of the new functionalities MySQL 4.1 provides. So, please make php5-sapi-r2 be happy with MySQL 4.1 - thank you. For further reference, see http://forums.gentoo.org/viewtopic-p-2470198.html. Reproducible: Always Steps to Reproduce: 1. 2. 3.
May be it\ll be good idea to make it happy with mysqli then ? http://forums.gentoo.org/viewtopic-t-340492.html Basically two changes are required: 1. Remove check for mysqli flag. 2. Replace enable_extension_with "mysql" "mysql" 1 with enable_extension_with "mysql" "mysql" 1 "/usr" Change 2 is required since without it PHP will try to use bundled libmysql - and this version is not compatible with mysqli. System version is always compatible with installed version of MySQL so IMNSHO it's better to use that in all cases (even if mysqli is not requested).
> So, please make php5-sapi-r2 be happy with MySQL 4.1 - thank you. I agree. Regards, Ian
*** This bug has been marked as a duplicate of 53886 ***