Add support for Debian version 13 codename Trixie (#451)

This commit is contained in:
frytimo
2025-11-21 21:27:09 -04:00
committed by GitHub
parent eefc35b778
commit bc30e8c6c9
7 changed files with 116 additions and 41 deletions

View File

@@ -58,6 +58,15 @@ fi
if [ ."$php_version" = ."8.1" ]; then
sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php8.1-fpm.sock;#g'
fi
if [ ."$php_version" = ."8.2" ]; then
sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php8.2-fpm.sock;#g'
fi
if [ ."$php_version" = ."8.3" ]; then
sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php8.3-fpm.sock;#g'
fi
if [ ."$php_version" = ."8.4" ]; then
sed -i /etc/nginx/sites-available/fusionpbx -e 's#unix:.*;#unix:/var/run/php/php8.4-fpm.sock;#g'
fi
ln -s /etc/nginx/sites-available/fusionpbx /etc/nginx/sites-enabled/fusionpbx
#self signed certificate
@@ -81,4 +90,7 @@ fi
systemctl daemon-reload
#restart nginx
service nginx restart
#service nginx restart
#restart again
systemctl restart nginx