[php-maint] Possible to include GMP in libapache2-mod-php5?

Raphael Geissert atomo64+debian at gmail.com
Wed Jul 25 01:18:27 UTC 2007


Hello Bryn,

On 24/07/07, Bryn Moslow <bryn at valvesoftware.com> wrote:
>
>
> Hello,
>
> Debian and the packages generally do almost everything I need them to, this
> is a wonderful thing that I give thanks for. I ran into an issue today
> however with trying to set up a site that requires GMP functions:
>
> http://www.swox.com/gmp/
>
> I've worked around it temporarily by grabbing the source package for php
> (apt-get source libapache2-mod-php5), the build deps (apt-get build-dep
> libapache2-mod-php5), and then phpize'ing the gmp extension from within the
> source directory. I just built the .so and copied it into the php5 lib
> directory and it seems to work so far.
>
> This is great for development but maintaining it on a large cluster of web
> servers has me a bit apprehensive. We use Debian because we trust the
> developers to do the Right Thing and we know from experience that the
> reputation for stability is well earned. In turn, we also trust the security
> updates and generally only maintain the servers by making sure cron-apt is
> installed and we pull down the latest and keep ourselves secure. We've
> gotten along for several years using nothing but the default Debian packages
> collection and this has kept us efficient and productive as we're not in the
> business of running Linux (or anyone's OS) and having to customize and
> maintain the base system.
>
> The bad thing I most worry about is php5 being updated and the module no
> longer loading and having to touch every machine whenever there's a php
> update.
>
> Ideally, I'd love to see an actual php5-gmp package or gmp added to the
> compile-time options in the official package. Is this a possibility?

I don't think built-in functionality would be provided in any case
(I'm speaking for myself because I'm not a PHP package maintainer).
This kind of requests are usually filled by sending a 'bug report' to
the virtual 'wnpp' package [1].

I will take a look at it and try to package it, then I'll have to get
a sponsor upload the package and probably within one month it will be
in unstable (ftp masters sometimes take long to process all the
packages).

But I don't see any possibility to get into, the already released,
etch. So I might host it in my private repository. The sources will
also be available so you can build the package yourself if you want
to.

>
> If not, is there an easy way I'm missing that we can automatically track
> stable/etch and make sure we've got the latest security updates and also
> include GMP in our PHP setup?
>
> With the speed increases we've seen from using GMP functions, I'd be
> surprised if nobody else was interested in this. Thanks for your time and
> consideration.
>
>
> Bryn Moslow
> Valve Software
> (425) 889-9642 x137
> http://www.valvesoftware.com
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint
>

[1] http://www.debian.org/devel/wnpp/

Sincerely,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Say NO to Microsoft Office broken standard.
See http://www.noooxml.org/petition



More information about the pkg-php-maint mailing list