2024年12月4日

HYEOS

随事而为

sspanel install && php8.2

1 min read

php8.0

apt install php8.0-common php8.0-redis php8.0  php8.0-bcmath  php8.0-cli  php8.0-common  php8.0-curl  php8.0-fpm  php8.0-gd  php8.0-intl    php8.0-mbstring  php8.0-mysql  php8.0-opcache  php8.0-readline  php8.0-xml php8.0-zip php8.0 php8.0-mcrypt php8.0-pgsql  php8.0-soap php8.0-xsl 

php8.2

apt install php8.2
apt install php8.2-common php8.2-redis php8.2  php8.2-bcmath  php8.2-cli  php8.2-common  php8.2-curl  php8.2-fpm  php8.2-gd  php8.2-intl    php8.2-mbstring  php8.2-mysql  php8.2-opcache  php8.2-readline  php8.2-xml
apt remove --purge apache2
apt autoremove --purge apache*
rm -rf /etc/apache2

crontab -e

*/1 * * * * /usr/bin/php8.2  /var/www/html/panel/xcat  Job CheckJob
0 */1 * * * /usr/bin/php8.2  /var/www/html/panel/xcat  Job UserJob
0 0 * * * /usr/bin/php8.2 -n  /var/www/html/panel/xcat Job DailyJob

5 0 * * * /usr/bin/php8.2  /var/www/html/panel/xcat FinanceMail day
6 0 * * 0 /usr/bin/php8.2  /var/www/html/panel/xcat FinanceMail week
7 0 1 * * /usr/bin/php8.2  /var/www/html/panel/xcat FinanceMail month

*/1 * * * * /usr/bin/php8.2  /var/www/html/panel/xcat DetectGFW

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注