Update PHP version references and configuration in scripts for debian Trixie

This commit is contained in:
Konstantin Krastev
2025-09-07 03:40:53 +03:00
parent 0a11da3a72
commit e80c7aa93f
4 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
IMG_NAME="Proxmark3"
USE_QCOW2=0
RELEASE="bookworm"
RELEASE="trixie"
DEPLOY_ZIP=1
USE_QEMU=0
LOCALE_DEFAULT="en_US.UTF-8"

View File

@@ -1,6 +1,6 @@
IMG_NAME="Proxmark3"
USE_QCOW2=0
RELEASE="bookworm"
RELEASE="trixie"
DEPLOY_ZIP=1
USE_QEMU=0
LOCALE_DEFAULT="en_US.UTF-8"

View File

@@ -17,7 +17,7 @@ lighttpd
iptables-persistent
vnstat
qrencode
php8.2-cgi
php8.4-cgi
openvpn
wireguard
jq

View File

@@ -63,8 +63,8 @@ systemctl disable systemd-networkd
cp config/raspap-bridge-br0.netdev /etc/systemd/network/raspap-bridge-br0.netdev
cp config/raspap-br0-member-eth0.network /etc/systemd/network/raspap-br0-member-eth0.network
sed -i -E 's/^session\.cookie_httponly\s*=\s*(0|([O|o]ff)|([F|f]alse)|([N|n]o))\s*$/session.cookie_httponly = 1/' /etc/php/8.2/cgi/php.ini
sed -i -E 's/^;?opcache\.enable\s*=\s*(0|([O|o]ff)|([F|f]alse)|([N|n]o))\s*$/opcache.enable = 1/' /etc/php/8.2/cgi/php.ini
sed -i -E 's/^session\.cookie_httponly\s*=\s*(0|([O|o]ff)|([F|f]alse)|([N|n]o))\s*$/session.cookie_httponly = 1/' /etc/php/8.4/cgi/php.ini
sed -i -E 's/^;?opcache\.enable\s*=\s*(0|([O|o]ff)|([F|f]alse)|([N|n]o))\s*$/opcache.enable = 1/' /etc/php/8.4/cgi/php.ini
phpenmod opcache
echo "net.ipv4.ip_forward=1" | tee /etc/sysctl.d/90_raspap.conf > /dev/null