[Mageia-discuss] Mediawiki installation not pulling in whats required?

nicolas vigier boklm at mars-attacks.org
Wed Mar 28 18:09:40 CEST 2012


On Wed, 28 Mar 2012, Oliver Burger wrote:

> 2012/3/28 Samuel Verschelde <stormi at laposte.net>:
> > Le mercredi 28 mars 2012 14:09:47, Oliver Burger a écrit :
> >> It can now be discussed, why php-mysql and php-pgsql do not require php
> >> itself and a webserver.
> >
> > for php I don't know, but there's no reason why a php package would require
> > a web server. PHP can be used as a CLI scripting language.
> >
> That's why I wrote "Other distros - iirc fedora - do provide a php
> package for use with a webserver and another one for use on the cli.
> Php itself can be used as a script language on the command line as well."
> 
> I'm not so sure about the "right" requirements here.
> I do think, php-mysql and php-pgsql should require php, as afaik they
> can't be used standalone.
> So perhaps we should have a mediawiki requiring a php enabled
> webserver. And php-mysql and php-pgsql and so on requiring php.
> Do we have a webserver that can use php except apache?
> I know there's lighttpd and nginx, but can you use php with them? I
> don't know them at all.

It's possible to use php with lighttpd and nginx. And it's also possible
to use php with apache in two different ways: as apache module with
apache-mod_php package, or as cgi with php-cgi.

So I think mediawiki package should not decide how php is installed. But
there could be a separate package like mediawiki-apache doing the setup
for apache. Maybe there could be a policy about this for php applications ?



More information about the Mageia-discuss mailing list