Bug#668153: [new check] Add a warning to not depend on specific web PHP SAPI
Package: lintian
Version: 2.5.6~bpo60+1
Severity: wishlist
Hi,
I have just noticed that some packages directly depend on libapache2-mod-php5
which basically disables the ability to use other SAPI (such as fastcgi, etc.)
Such packages probably need to depend just on php5 package which declares
dependency on:
libapache2-mod-php5 (>= 5.4.1~rc1-1) |
libapache2-mod-php5filter (>= 5.4.1~rc1-1) |
php5-cgi (>= 5.4.1~rc1-1) |
php5-fpm (>= 5.4.1~rc1-1)
One example is zoneminder which depends on:
libapache2-mod-php5, php5
Here is should be changed either to:
libapache2-mod-php5 | php5
or just:
php5
Because php5 is not a virtual package it will install it's first dependency
by default which is libapache2-mod-php5, so the behaviour stays the same.
Another example is ukolovnik or moodle:
libapache2-mod-php5 | php5-cgi
This dependency for example prevents usage of php5-fpm (FastCgi Process
Manager) SAPI, which is much better choice than php5-cgi.
Thank you,
Ondrej
-- System Information:
Debian Release: 6.0.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (300, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Reply to: