php5

James Dinkel jdinkel at gmail.com
Thu Jun 4 16:10:29 UTC 2009


Use aptitude.

Apt-get will probably install php5 without Apache if you break it up in to
two steps:
"sudo apt-get install php5-cgi"
then "sudo apt-get install php5"



On Thu, Jun 4, 2009 at 10:56 AM, Bodhi Zazen
<bodhi.zazen at montanalinux.org>wrote:

> No, that is just not true php5 and php5-cgi pull apache2.2-common
>
> apt-get install -s php5 php5-cgi
>
> 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
>  libapr1 libaprutil1 libmysqlclient15off libpq5 mysql-common php5-common
> Suggested packages:
>  apache2-doc apache2-suexec apache2-suexec-custom php-pear
> The following NEW packages will be installed:
>  apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5
>  libapr1 libaprutil1 libmysqlclient15off libpq5 mysql-common php5 php5-cgi
>  php5-common
> 0 upgraded, 12 newly installed, 0 to remove and 1 not upgraded.
> Inst libapr1 (1.2.12-5 Ubuntu:9.04/jaunty)
> Inst mysql-common (5.1.30really5.0.75-0ubuntu10.2
> Ubuntu:9.04/jaunty-updates)
> Inst libmysqlclient15off (5.1.30really5.0.75-0ubuntu10.2
> Ubuntu:9.04/jaunty-updates)
> Inst libpq5 (8.3.7-1 Ubuntu:9.04/jaunty)
> Inst libaprutil1 (1.2.12+dfsg-8 Ubuntu:9.04/jaunty)
> Inst apache2-utils (2.2.11-2ubuntu2 Ubuntu:9.04/jaunty)
> Inst apache2.2-common (2.2.11-2ubuntu2 Ubuntu:9.04/jaunty)
> Inst apache2-mpm-prefork (2.2.11-2ubuntu2 Ubuntu:9.04/jaunty)
> Inst php5-common (5.2.6.dfsg.1-3ubuntu4.1 Ubuntu:9.04/jaunty-updates)
> Inst libapache2-mod-php5 (5.2.6.dfsg.1-3ubuntu4.1
> Ubuntu:9.04/jaunty-updates)
> Inst php5-cgi (5.2.6.dfsg.1-3ubuntu4.1 Ubuntu:9.04/jaunty-updates)
> Inst php5 (5.2.6.dfsg.1-3ubuntu4.1 Ubuntu:9.04/jaunty-updates)
> Conf libapr1 (1.2.12-5 Ubuntu:9.04/jaunty)
> Conf mysql-common (5.1.30really5.0.75-0ubuntu10.2
> Ubuntu:9.04/jaunty-updates)
> Conf libmysqlclient15off (5.1.30really5.0.75-0ubuntu10.2
> Ubuntu:9.04/jaunty-updates)
> Conf libpq5 (8.3.7-1 Ubuntu:9.04/jaunty)
> Conf libaprutil1 (1.2.12+dfsg-8 Ubuntu:9.04/jaunty)
> Conf apache2-utils (2.2.11-2ubuntu2 Ubuntu:9.04/jaunty)
> Conf apache2.2-common (2.2.11-2ubuntu2 Ubuntu:9.04/jaunty)
> Conf apache2-mpm-prefork (2.2.11-2ubuntu2 Ubuntu:9.04/jaunty)
> Conf php5-common (5.2.6.dfsg.1-3ubuntu4.1 Ubuntu:9.04/jaunty-updates)
> Conf libapache2-mod-php5 (5.2.6.dfsg.1-3ubuntu4.1
> Ubuntu:9.04/jaunty-updates)
> Conf php5-cgi (5.2.6.dfsg.1-3ubuntu4.1 Ubuntu:9.04/jaunty-updates)
> Conf php5 (5.2.6.dfsg.1-3ubuntu4.1 Ubuntu:9.04/jaunty-updates)
>
>
> ----- Original Message -----
> From: "James Dinkel" <jdinkel at gmail.com>
> To: "Bodhi Zazen" <bodhi.zazen at montanalinux.org>
> Cc: ubuntu-server at lists.ubuntu.com
> Sent: Thursday, June 4, 2009 8:03:54 AM GMT -07:00 US/Canada Mountain
> Subject: Re: php5
>
> If you don't want it to pull in Apache, then you need to install php5 and
> php5-cgi. So, "sudo aptitude install -R php5 php5-cgi" would not install
> Apache.
>
>
> On Thu, Jun 4, 2009 at 12:11 AM, Bodhi Zazen <
> bodhi.zazen at montanalinux.org > wrote:
>
>
> I was directed to this mailing list from #ubuntu-motd
>
> I am looking at php-fpm which is a patch to php5.
>
> I can build it from source with no problem and was wondering how to
> incorporate it into the Ubuntu php5 packaging, which is a bit complex.
>
> As I look at php5 I see it is a meta package and lists some apache packages
> as dependencies.
>
> However, these apache dependencies are not needed if one is running
> lighttpd , nginx, or other http server.
>
> So with that in mind ...
>
> First has there been any thought or discussion into changing the
> dependencies for php5 to incorporate other http servers (it would seem that
> part would be easy). If not I would respectfully suggest considering such a
> change (otherwise php5 pulls in apache-common and one has to then stop
> apahce and remove it from the boot scripts).
>
> Second, are there any suggestions on how to package php5-fpm ? The patched
> php code would replace php5-common as far as I can tell, but how to
> incorporate that change into the meta package ?
>
> I should say that I am new to packaging and am considering providing
> php-fpm in a ppa and am looking for advice on how to start ?
>
> At this time it is easy to php-fpm on nginx, from php / fpm source ) which
> makes for a light weight http server , yet very fast (at least with static
> pages and php). Perfect for a VPS (with 256 Mb RAM). Any advice ?
>
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server/attachments/20090604/2a1f80cf/attachment.html>


More information about the ubuntu-server mailing list