php5

Bodhi Zazen bodhi.zazen at montanalinux.org
Thu Jun 4 17:07:00 UTC 2009


The second issue / question is php-fpm :

http://php-fpm.anight.org/

When installing the patch,

apt-get source php5-cgi

apply patch

patch applies without any problem 

http://php-fpm.anight.org/downloads/archive/php-5.2/php-5.2.6-fpm-0.5.9.diff.gz

but then building the package (php5-cgi ? ) pulls (and then builds) all the php5 dependencies, including those from apache, try 

apt-get build-dep php5-cgi

dpkg-buildpackage -uc -b

And you will see, all the apache dependencies are pulled and built

Which gets back to my first e-mail , ie separating apache from php5 for those using php5-cgi with lighttpd and / or nginx or other http servers.


----- Original Message -----
From: "\"Juan J.\" Martínez" <reidrac at usebox.net>
To: "James Dinkel" <jdinkel at gmail.com>
Cc: "Bodhi Zazen" <bodhi.zazen at montanalinux.org>, ubuntu-server at lists.ubuntu.com
Sent: Thursday, June 4, 2009 10:13:13 AM GMT -07:00 US/Canada Mountain
Subject: Re: php5

El jue, 04-06-2009 a las 11:10 -0500, James Dinkel escribió:
> 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"

I agree with James.

php5 packaged depends on:

libapache2-mod-php5 OR libapache2-mod-php5filter OR php5-cgi,
php5-common

So install php5-cgi first and it won't install any apache dependencies.

Regards,

Juanjo

-- 
jjm's home: http://www.usebox.net/jjm/
blackshell: http://blackshell.usebox.net/
 ramble on: http://rambleon.usebox.net/





More information about the ubuntu-server mailing list