Commit 77575ac2 authored by Carlo Landmeter's avatar Carlo Landmeter

main/php: opcache is part of zend

opcache needs to load as a zend extension
parent 84598836
......@@ -2,7 +2,7 @@
# Maintainer: Matt Smith <mcs@darkregion.net>
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; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment