mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
secured php.ini for multi-php
This commit is contained in:
parent
82d00b4a5c
commit
7220e01116
1 changed files with 12 additions and 0 deletions
|
@ -145,6 +145,9 @@ if [ "$inst_70" -eq 1 ]; then
|
||||||
if [ $debian_version -eq 10 ]; then
|
if [ $debian_version -eq 10 ]; then
|
||||||
cp /etc/php/7.3/fpm/php.ini /etc/php/7.0/fpm/php.ini
|
cp /etc/php/7.3/fpm/php.ini /etc/php/7.0/fpm/php.ini
|
||||||
fi
|
fi
|
||||||
|
if [ $debian_version -eq 11 ]; then
|
||||||
|
cp /etc/php/7.4/fpm/php.ini /etc/php/7.0/fpm/php.ini
|
||||||
|
fi
|
||||||
press_enter "=== Press enter to continue ==============================================================================="
|
press_enter "=== Press enter to continue ==============================================================================="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -166,6 +169,9 @@ if [ "$inst_71" -eq 1 ]; then
|
||||||
if [ $debian_version -eq 10 ]; then
|
if [ $debian_version -eq 10 ]; then
|
||||||
cp /etc/php/7.3/fpm/php.ini /etc/php/7.1/fpm/php.ini
|
cp /etc/php/7.3/fpm/php.ini /etc/php/7.1/fpm/php.ini
|
||||||
fi
|
fi
|
||||||
|
if [ $debian_version -eq 11 ]; then
|
||||||
|
cp /etc/php/7.4/fpm/php.ini /etc/php/7.1/fpm/php.ini
|
||||||
|
fi
|
||||||
press_enter "=== Press enter to continue ==============================================================================="
|
press_enter "=== Press enter to continue ==============================================================================="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -187,6 +193,9 @@ if [ "$inst_72" -eq 1 ]; then
|
||||||
if [ $debian_version -eq 10 ]; then
|
if [ $debian_version -eq 10 ]; then
|
||||||
cp /etc/php/7.3/fpm/php.ini /etc/php/7.2/fpm/php.ini
|
cp /etc/php/7.3/fpm/php.ini /etc/php/7.2/fpm/php.ini
|
||||||
fi
|
fi
|
||||||
|
if [ $debian_version -eq 11 ]; then
|
||||||
|
cp /etc/php/7.4/fpm/php.ini /etc/php/7.2/fpm/php.ini
|
||||||
|
fi
|
||||||
press_enter "=== Press enter to continue ==============================================================================="
|
press_enter "=== Press enter to continue ==============================================================================="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -209,6 +218,9 @@ if [ "$inst_73" -eq 1 ]; then
|
||||||
if [ $debian_version -eq 9 ]; then
|
if [ $debian_version -eq 9 ]; then
|
||||||
cp /etc/php/7.0/apache2/php.ini /etc/php/7.3/fpm/php.ini
|
cp /etc/php/7.0/apache2/php.ini /etc/php/7.3/fpm/php.ini
|
||||||
fi
|
fi
|
||||||
|
if [ $debian_version -eq 11 ]; then
|
||||||
|
cp /etc/php/7.4/fpm/php.ini /etc/php/7.3/fpm/php.ini
|
||||||
|
fi
|
||||||
press_enter "=== Press enter to continue ==============================================================================="
|
press_enter "=== Press enter to continue ==============================================================================="
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue