| 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/services/ |
Upload File : |
#!/bin/bash
if [ -f "include/startup.sh" ]; then
. include/startup.sh
elif [ -f "../include/startup.sh" ]; then
. ../include/startup.sh
fi
echo "Installing php7.2" | log
installPackage php7.2
waitOrStop 0 "Failed apt install: php7.2"
echo "Installing php7.2 modules" | log
packages=(php7.2-bcmath php7.2-bz2 php7.2-cli php7.2-common php7.2-curl php7.2-gd php7.2-intl php7.2-json php7.2-mbstring php7.2-mysql php7.2-mysqlnd php7.2-readline php7.2-soap php7.2-xml php7.2-zip php-pear php-php-gettext php-phpseclib php-tcpdf)
installPackage "${packages[@]}"
waitOrStop 0 "Failed apt install: ${packages[@]}"
echo "Disabling non-critical services" | log
systemctl stop apache2.service
systemctl disable apache2.service
echo "Adding descriptions" | log
descriptionAppend "PHP config files location: /etc/php/"
descriptionAppend " "
tag php.success
tagScript success
exit 0