php-apache eklentisi

This commit is contained in:
halityilmaz1982 2017-10-31 02:52:12 +02:00
parent 6548b9c2fb
commit 5061ac0aa6
1 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,21 @@
# Tanım: php-apache kütüphanesi
# URL: http://www.php.net
# Paketçi: halityilmaz1982
# Gerekler: php apache
isim=php-apache
surum=7.1.4
devir=1
kaynak=(http://www.php.net/distributions/php-$surum.tar.xz apache.conf)
derle() {
cd php-$surum
./configure --disable-all \
--with-apxs2
make DESTDIR=$PKG install
install -D -m755 ${SRC}/php-${surum}/libs/libphp7.so ${PKG}/usr/lib/httpd/modules/libphp7.so
install -D -m644 ${SRC}/apache.conf ${PKG}/etc/httpd/conf/extra/php7_module.conf
echo "extension=apache.so" > $PKG/etc/php/conf.d/apache.ini
}