[php-maint] Bug#320835: No more technical problem wrt php5-mysqli ?

Eric Webster ew at u.washington.edu
Tue May 30 18:06:42 UTC 2006

Christophe Chisogne wrote:
> Now, MySQL 5.x is the only mysql-server in testing, and php5-mysql
> is in testing too (built against libmysqlclient15off).
> If there is no more technical problems (more than one mysql lib),
> and if such package can be found for Sarge (dotdeb.org),
> why is there no php5-mysqli package in Debian ?
> Seeing that this bug is 301 days old (10 months), and the number
> of security bugs for PHP 5 in Debian, perhaps is it simply
> because the Debian PHP maintainers need more people involved?
> Or because maintaining PHP is such a nightmare than nobody
> ever want to "play" with it again? :p
> If Debian wont build that package, is it difficult to build it manually?
> At first glance, It seems there is a ext/mysqli directory in the PHP
> Debian source package (5.1.2)...
> Ch.
Here is what I've been doing to build it with mysqli support.

apt-get source php5
apt-get build-dep php5
cd php5-5.1.2/
In debian/rules at about line 64 add a line like this 
'--with-mysqli=/usr/bin/mysql_config \'
debuild (or if that doesn't work 'debian/rules binary'

I'm not sure how hard it would be to build packages for php 5.1.4.

More information about the pkg-php-maint mailing list