[Mageia-dev] Adding additional provides to php database modules

Oliver Burger oliver.bgr at googlemail.com
Wed Jan 4 20:08:35 CET 2012


Am Mittwoch, 28. Dezember 2011, 17:01:17 schrieb Guillaume Rousse:
> Le 19/12/2011 03:02, Thomas Spuhler a écrit :
> > Could you please explain a little more what you are looking for.
> > PHP provides the php-mysql and php-pdo-mysql
> 
> He wants to add a php-database virtual package, provided by the
> different php database bindings.
Exactly. So mediawiki and drupal could just require "php-database" or 
something like that.

> 
> The only problem here is that, pdo aside, there is no unified database
> interface in php. Some applications may have explicit support for some
> databases, this doesn't mean they have generic support for any database.
> You're likely to quickly run into applications able to work with mysql,
> postgresql or sqlite, and those able to work with just mysql or
> postgresql. In theory, you'll end up with as much virtual package as
> potential combination.
I see the problem. So it would be actually better for each application like 
drupal and mediawiki to have its own virtual provides for the database 
packages (like drupal already does).

Thanks,

Oliver


More information about the Mageia-dev mailing list