mirror of
https://github.com/myvesta/vesta
synced 2025-07-06 04:51:54 -07:00
Update multi-php-install.sh
This commit is contained in:
parent
71bdbfbcf5
commit
d399d74fd9
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ if [ "$inst_81" -eq 1 ]; then
|
|||
chmod a+x /usr/local/vesta/data/templates/web/apache2/PHP-FPM-81.sh
|
||||
chmod a+x /usr/local/vesta/data/templates/web/apache2/PHP-FPM-81-public.sh
|
||||
echo "=== Patching php.ini for php8.1"
|
||||
wget -nv https://c.myvestacp.com/tools/patches/php8.0.patch -O /root/php8.1.patch
|
||||
wget -nv https://c.myvestacp.com/tools/patches/php8.1.patch -O /root/php8.1.patch
|
||||
patch /etc/php/8.1/fpm/php.ini < /root/php8.1.patch
|
||||
if [ $memory -gt 9999999 ]; then
|
||||
sed -i "s|opcache.memory_consumption=512|opcache.memory_consumption=2048|g" /etc/php/8.1/fpm/php.ini
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue