[php-maint] Apache dependency for php5

Balachandran Sivakumar benignbala at gmail.com
Sat Jul 6 06:37:06 UTC 2013


On Sat, Jul 6, 2013 at 11:44 AM, Ondřej Surý <ondrej at sury.org> wrote:
> http://packages.debian.org/sid/php5
> There's no apache2 dependency here.
> Could you paste your output of apt-cache show php5?

         Here is the trimmed output:

Package: php5
Version: 5.4.4-15.1
Installed-Size: 21
Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
Architecture: all
Depends: libapache2-mod-php5 (>= 5.4.4-15.1) |
libapache2-mod-php5filter (>= 5.4.4-15.1) | php5-cgi (>= 5.4.4-15.1) |
php5-fpm (>= 5.4.4-15.1), php5-common (>= 5.4.4-15.1)

Depends for php5 has libapache2-mod-php5, which depends on apache2.
So, we end up installing apache2 as well.

Also, please see the (trimmed) output below from the installation command

root at ganapathy-laptop:~# apt-get install  php5 php5-mysql mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apache2-mpm-prefork apache2-utils apache2.2-common
libapache2-mod-php5 libdbd-mysql-perl libdbi-perl
libhtml-template-perl libmysqlclient18
  libonig2 libqdbm14 mysql-client-5.5 mysql-common mysql-server-5.5
mysql-server-core-5.5 php5-cli php5-common ssl-cert

This is why I thought there was a dependency on apache2. Thanks

Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.
                                                             - Swami Vivekananda

Mail: benignbala at gmail.com
Blog: http://benignbala.wordpress.com/

More information about the pkg-php-maint mailing list