~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2 2

[alpine-devel] [PATCH] main/php: enabled some defaults for php-fpm

Details
Message ID
<1293746251-2108-1-git-send-email-mcs@darkregion.net>
Sender timestamp
1293746251
DKIM signature
missing
Download raw message
Patch: +7 -1
I enabled some defaults for php-fpm so that it will start without configuration.

Let me know what you think.
---
 main/php/APKBUILD |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/main/php/APKBUILD b/main/php/APKBUILD
index 35df492..2cbaf0c 100644
--- a/main/php/APKBUILD
+++ b/main/php/APKBUILD
@@ -3,7 +3,7 @@
pkgname=php
pkgver=5.3.4
_suhosinver=5.3.4-0.9.10
pkgrel=0
pkgrel=1
pkgdesc="The PHP language runtime engine"
url="http://www.php.net/"
arch="x86 x86_64"
@@ -298,6 +298,12 @@ fpm() {
	mkdir -p "$subpkgdir"/etc/php
	mv "$pkgdir"/usr/sbin/php-fpm "$subpkgdir"/usr/bin/php-fpm
	mv "$pkgdir"/etc/php/php-fpm.conf.default "$subpkgdir"/etc/php/php-fpm.conf

	# enable some defaults
	sed -ri "s/^;(pm.start_servers)/\1/" "$subpkgdir"/etc/php/php-fpm.conf
	sed -ri "s/^;(pm.min_spare_servers)/\1/" "$subpkgdir"/etc/php/php-fpm.conf
	sed -ri "s/^;(pm.max_spare_servers)/\1/" "$subpkgdir"/etc/php/php-fpm.conf

	install -D -m755 "$srcdir"/php-fpm.init "$subpkgdir"/etc/init.d/php-fpm
}

-- 
1.7.3.3



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa <ncopa@alpinelinux.org>
Details
Message ID
<20101231095343.09584ce3@ncopa-desktop.nor.wtbts.net>
In-Reply-To
<1293746251-2108-1-git-send-email-mcs@darkregion.net> (view parent)
Sender timestamp
1293785623
DKIM signature
missing
Download raw message
On Thu, 30 Dec 2010 15:57:31 -0600
Matt Smith <mcs@darkregion.net> wrote:

> I enabled some defaults for php-fpm so that it will start without
> configuration.
> 
> Let me know what you think.

Looks good.

Applied. Thanks!

Btw... looks like php is totally broken now. the php-cgi binary is
missing and according #504 php+apache is broken too?

Would be nice if someone who knows what he is doing fixes things. I
dont have time really.

If nobody steps up I'll need to revert commits all the way back to a
working state (something that does not break www.alpinelinux.org).

Thanks!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Details
Message ID
<1293852294.498520246@192.168.2.227>
In-Reply-To
<20101231095343.09584ce3@ncopa-desktop.nor.wtbts.net> (view parent)
Sender timestamp
1293852294
DKIM signature
missing
Download raw message
On Friday, December 31, 2010 2:53am, "Natanael Copa" <ncopa@alpinelinux.org>
said:
> Btw... looks like php is totally broken now. the php-cgi binary is
> missing and according #504 php+apache is broken too?

I'm working on the php package now.  I believe I'm almost done with it, but I
wanted to give you guys an update.

I've already fixed #505 (php-cgi missing), and I'm hoping to fix at least the
seg fault in #504.

Also, this new update should be built against the updated pcre APKBUILD to fix
an unreported issue with PHP: PHP complains that PCRE_UCP isn't compiled in when
Zabbix uses PCRE with the 'u' modifier. (The alternative solution is to sed out
where the modifier is used -- ick.)

I'll keep you updated on the progress.

Thanks,
Matt



---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)