From 77575ac25e1e1c68fe881f2aa0f144703aabc867 Mon Sep 17 00:00:00 2001 From: Carlo Landmeter Date: Thu, 3 Oct 2013 07:56:51 +0000 Subject: main/php: opcache is part of zend opcache needs to load as a zend extension --- main/php/APKBUILD | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'main/php/APKBUILD') diff --git a/main/php/APKBUILD b/main/php/APKBUILD index 04d45bcc60..3af1f9123a 100644 --- a/main/php/APKBUILD +++ b/main/php/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Matt Smith pkgname=php pkgver=5.5.4 -pkgrel=0 +pkgrel=1 pkgdesc="The PHP language runtime engine" url="http://www.php.net/" arch="all" @@ -421,7 +421,14 @@ _mv_ext() { mkdir -p "$subpkgdir"/$_extdir mv "$pkgdir"/$_extdir/${ext}.so "$subpkgdir"/$_extdir/ || return 1 mkdir -p "$subpkgdir"/etc/php/conf.d - echo "extension=${ext}.so" > "$subpkgdir"/etc/php/conf.d/$ini + case "$1" in + opcache) + echo "zend_extension=${ext}.so" > "$subpkgdir"/etc/php/conf.d/$ini + ;; + *) + echo "extension=${ext}.so" > "$subpkgdir"/etc/php/conf.d/$ini + ;; + esac } bcmath() { _mv_ext bcmath; } -- cgit v1.2.3