milis/talimatname/genel/p/php/talimat

45 lines
1.6 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Dinamik web sitelerinde kullanılan programlama kodunun HTML biçimlendirmesine doğrudan gömülmesini sağlar.
2017-04-11 09:03:34 +02:00
# URL: http://www.php.net
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: apache libxml2 aspell aspell-tr libxslt enchant pcre pth freetype libexif libjpeg-turbo libpng libtiff xorg curl db mariadb openldap postgresql sqlite unixodbc openssl cyrus-sasl kerberos
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=php
surum=5.6.31
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
kaynak=(http://php.net/distributions/$isim-$surum.tar.xz)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--datadir=/usr/share/php \
--mandir=/usr/share/man \
--enable-fpm \
--with-fpm-user=apache \
--with-fpm-group=apache \
--with-config-file-path=/etc \
--with-zlib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--enable-dba=shared \
2017-02-19 21:58:42 +01:00
--enable-mysqlnd \
2016-02-24 01:27:23 +01:00
--with-gdbm \
--with-gmp \
--enable-ftp \
--with-gettext \
--enable-mbstring \
--with-readline
make
make -j1 INSTALL_ROOT=$PKG install
install -v -m644 php.ini-production $PKG/etc/php.ini
mv -v $PKG/etc/php-fpm.conf{.default,}
2017-07-07 14:11:30 +02:00
sed -i 's@php/includes"@&\ninclude_path = ".:/usr/lib/php"@' $PKG/etc/php.ini
2016-02-24 01:27:23 +01:00
}