php-duzeltme

This commit is contained in:
milisbir 2017-11-01 04:18:53 +02:00
parent 08095ec3a3
commit feca77e2d5
3 changed files with 16 additions and 15 deletions

View File

@ -4,9 +4,10 @@
# Gerekler: php7 apache # Gerekler: php7 apache
isim=php7-apache isim=php7-apache
surum=7.1.4 surum=7.1.11
devir=1 devir=1
kaynak=(http://www.php.net/distributions/php-$surum.tar.xz apache.conf) kaynak=(http://www.php.net/distributions/php-$surum.tar.xz
apache.conf)
derle() { derle() {
cd php-$surum cd php-$surum

View File

@ -1,12 +1,12 @@
. /root/bin/mps . /root/bin/mps
if [ "$durum" = "`kurulu_kontrol php`" ]; then if [ -d /var/lib/pkg/DB/php ]; then
echo "eski php sürümü siliniyor." echo "eski php sürümü siliniyor."
mps sil php mps sil php
nokta=`date +%m-%d-%y.%H%M%S` nokta=`date +%m-%d-%y.%H%M%S`
mkdir -p /var/lib/pkg/koruma mkdir -p /var/lib/pkg/koruma
cp /etc/php.ini /var/lib/pkg/koruma/php.ini.$nokta [ -f /etc/php.ini ] && cp /etc/php.ini /var/lib/pkg/koruma/php.ini.$nokta
cp /etc/php-fpm.conf /var/lib/pkg/koruma/php-fpm.conf.$nokta [ -f /etc/php-fpm.conf ] && cp /etc/php-fpm.conf /var/lib/pkg/koruma/php-fpm.conf.$nokta
cp /etc/pear.conf /var/lib/pkg/koruma/pear.conf.$nokta [ -f /etc/pear.conf ] && cp /etc/pear.conf /var/lib/pkg/koruma/pear.conf.$nokta
else else
echo "eski php sürümü mevcut degil." echo "eski php sürümü mevcut degil."
fi fi

View File

@ -1,4 +1,4 @@
# Tanım: Dinamik web sitelerinde kullanılan programlama kodunun doğrudan HTML içine gömülmesini sağlar. Ayrıca, genel amaçlı bir betik dili olarak da yararlıdır. # Tanım: Dinamik web sitelerinde kullanılan programlama kodunun doğrudan HTML içine gömülmesini sağlar.
# URL: http://www.php.net # URL: http://www.php.net
# Paketçi: milisarge # Paketçi: milisarge
# Gerekler: apache libxml2 aspell aspell-tr libxslt enchant pcre pth freetype libexif libjpeg-turbo libpng libtiff db mariadb openldap postgresql sqlite unixodbc cyrus-sasl kerberos # Gerekler: apache libxml2 aspell aspell-tr libxslt enchant pcre pth freetype libexif libjpeg-turbo libpng libtiff db mariadb openldap postgresql sqlite unixodbc cyrus-sasl kerberos
@ -8,7 +8,7 @@ _isim=php
surum=7.1.11 surum=7.1.11
devir=1 devir=1
kaynak=(http://php.net/distributions/${_isim}-$surum.tar.xz{,.asc}) kaynak=(http://php.net/distributions/${_isim}-$surum.tar.xz)
derle() { derle() {