php5
Bodhi Zazen
bodhi.zazen at montanalinux.org
Thu Jun 4 21:03:00 UTC 2009
OK , so I have built php-fpm
I am wanting to put this into a ppa ;)
It is a patch to php5 , a binary "php-fpm" , and a config file "php-fpm.conf"
So basically it is a replacement / patch for php5-common (the patch part) + a binary and config file (the php-fpm part).
The binary builds in several locations :
php5-5.2.6.dfsg.1/apache2-build/sapi/cgi/fpm/php-fpm
php5-5.2.6.dfsg.1/apache2filter-build/sapi/cgi/fpm/php-fpm
php5-5.2.6.dfsg.1/cgi-build/sapi/cgi/fpm/php-fpm
The config file is in the same location.
I can clean up the build / config files and install locations (it would be a few edits to the config files really), but the question I now have is :
How to package this ? keep it in php5-cgi and apache ? Make / split into a package "php-fpm" or "php5-fpm" ? So suggestions how best to package this ?
----- Original Message -----
From: "Bodhi Zazen" <bodhi.zazen at montanalinux.org>
To: "\"Juan J.\" Martínez" <reidrac at usebox.net>
Cc: ubuntu-server at lists.ubuntu.com, "James Dinkel" <jdinkel at gmail.com>
Sent: Thursday, June 4, 2009 11:07:00 AM GMT -07:00 US/Canada Mountain
Subject: Re: php5
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