milis/talimatname/genel/p/php/php.kos-kur

13 lines
473 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.

cakisan=php7
if [ -d /var/lib/pkg/DB/$cakisan ]; then
echo "php7 sürümü siliniyor."
nokta=`date +%m-%d-%y.%H%M%S`
mkdir -p /var/lib/pkg/koruma
[ -f /etc/php.ini ] && cp /etc/php.ini /var/lib/pkg/koruma/php7.ini.$nokta
[ -f /etc/php-fpm.conf ] && cp /etc/php-fpm.conf /var/lib/pkg/koruma/php7-fpm.conf.$nokta
[ -f /etc/pear.conf ] && cp /etc/pear.conf /var/lib/pkg/koruma/pear7.conf.$nokta
mps -sz $cakisan
else
echo "çakışan $cakisan paketi mevcut degil."
fi