Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95150 - php5-sapi-r2 wrongly depends on =dev-db/mysql-4.0*
Summary: php5-sapi-r2 wrongly depends on =dev-db/mysql-4.0*
Status: RESOLVED DUPLICATE of bug 53886
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-05 13:44 UTC by Peter Thomassen
Modified: 2005-06-10 15:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Thomassen 2005-06-05 13:44:46 UTC
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.
Comment 1 Canal Vorfeed 2005-06-05 14:19:28 UTC
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).
Comment 2 Ian P. Christian 2005-06-07 23:41:41 UTC
> So, please make php5-sapi-r2 be happy with MySQL 4.1 - thank you.  
 
I agree. 
 
Regards, 
 
Ian 
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2005-06-10 15:47:21 UTC

*** This bug has been marked as a duplicate of 53886 ***