| Server IP : 104.129.129.72 / Your IP : 216.73.216.229 Web Server : LiteSpeed System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : answe8064 ( 1002) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /opt/installer/tweaks/ |
Upload File : |
#!/bin/bash
if [ -f "include/startup.sh" ]; then
. include/startup.sh
elif [ -f "../include/startup.sh" ]; then
. ../include/startup.sh
fi
runOnceCheck
checkTagExist nginx.success
checkTagExist ssl-ready.success
echo "Enabling PHP in default-ssl config file" | log
sed -i -e 's/server_name _;/server_name _;\n\nlocation ~ .php$ {\n include snippets\/fastcgi-php.conf;\n fastcgi_pass 127.0.0.1:9000;\n \n\t}\n/' /etc/nginx/sites-available/default-ssl
sed -i -e 's/index index.html/index index.php index.html/' /etc/nginx/sites-available/default-ssl
# Restart NGINX service
systemctl restart nginx.service
waitOrStop 0 "Restart nginx service failed"
tagScript success
exit 0