[php-maint] Apache dependency for php5

Lior Kaplan kaplan at debian.org
Sat Jul 6 08:13:07 UTC 2013


The php5 package depends on one from a few options (SAPI in PHP terms):
apache module, fpm or cgi.
Ondrej - I think we're missing the cli option as well.

If you don't choose the SAPI yourself (and nothing is already installed),
apt will choose the first option, in this case apache. You can choose
another SAPI yourself. See bellow.

# apt-get install php5 php5-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libonig2 libqdbm14 php5-common php5-json
Suggested packages:
  php-pear php5-user-cache
The following NEW packages will be installed:
  libonig2 libqdbm14 php5 php5-cgi php5-common php5-json

# apt-get install php5 php5-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libonig2 libqdbm14 php5-common php5-json
Suggested packages:
  php-pear php5-user-cache
The following NEW packages will be installed:
  libonig2 libqdbm14 php5 php5-cgi php5-common php5-json

Kaplan

On Sat, Jul 6, 2013 at 9:37 AM, Balachandran Sivakumar <benignbala at gmail.com
> wrote:

> root at ganapathy-laptop:~# apt-get install  php5 php5-mysql mysql-server
> mysql-client
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20130706/84a00146/attachment.html>


More information about the pkg-php-maint mailing list