From 5061ac0aa6964da4f5a459ecd4da04ff4e479349 Mon Sep 17 00:00:00 2001 From: halityilmaz1982 Date: Tue, 31 Oct 2017 02:52:12 +0200 Subject: [PATCH] php-apache eklentisi --- talimatname/genel/p/php-apache/talimat | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 talimatname/genel/p/php-apache/talimat diff --git a/talimatname/genel/p/php-apache/talimat b/talimatname/genel/p/php-apache/talimat new file mode 100644 index 000000000..e21be6e6f --- /dev/null +++ b/talimatname/genel/p/php-apache/talimat @@ -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 +}