milis/talimatname/genel/p/php7-apache/talimat

24 lines
597 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: php-apache kütüphanesi
# URL: http://www.php.net
# Paketçi: halityilmaz1982
# Gerekler: php7 apache
isim=php7-apache
surum=7.1.11
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
mkdir -p $PKG/etc/php/conf.d/
echo "extension=apache.so" > $PKG/etc/php/conf.d/apache.ini
}