[php-maint] New extensions manager seems to be ready

Raphael Geissert atomo64+debian at gmail.com
Fri Oct 26 02:21:33 UTC 2007


On 25/10/2007, Ondřej Surý <ondrej at sury.org> wrote:
> Steve Langasek píše v Čt 25. 10. 2007 v 00:27 -0700:
> > On Fri, Oct 19, 2007 at 03:52:23PM -0500, Raphael Geissert wrote:
> >
> > > On 19/10/2007, Ondřej Surý <ondrej at sury.org> wrote:
> > > > Hi Raphael,
> >
> > > > Raphael Geissert píše v Čt 18. 10. 2007 v 20:55 -0500:
> > > > > And, what does everyone think about the new extensions manager?
> >
> > > > How do you handle situation:
> >
> > > > 1. install libapache2-mod-php5
> > > > 2. install php5-mysql
> > > > 3. install php5-cgi
> >
> > > > Will php5-mysql be enabled in php5-cgi SAPI or not?
> >
> > > No, because if done automatically, it would be a tricky behaviour
> > > since the user might not want to enable all of them (and there's no
> > > easy way to know whether the extension, mysql in this case, does work
> > > on the given SAPI).
> >
> > That's a regression compared with the current behavior, then; and in fact it
> > restores the previous buggy behavior which was a much greater source of user
> > complaints and bug reports than the current version.
>
> >From my experience, I would recommend enabling all extensions in step
> 3., ie. when you install new SAPI, enable all installed extensions.
> That's what the most people want.
>
> And if there are incompatible extensions, keep blacklist and don't
> enable those who would make a problem (that applies as well to
> extensions incompatible with another extension).

That would make the system more complex, but it isn't too hard to implement.
I might give a try to it this weekend.

That reminds me the old libapache?-mod-php+ Conflicts: with the
package of the other PHP apache module.
If we go this approach (adding a conflicts system at configuration
level) I'd also like to see something similar when PHP6 is released.
So people could actually have both versions of the PHP's apache SAPI
installed but only have one enabled.
I know this last comment is kind of offtopic, but just came to my mind :-)

>
> Ondrej.
> --
> Ondřej Surý <ondrej at sury.org>  ***  http://blog.rfc1925.org/
> Kulturní občasník              ***  http://www.obcasnik.cz/
> Nehoupat, prosím               ***  http://nehoupat.blogspot.com/
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-php-maint


-- 
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