ISPConfig өөрийнх нь php 7.0 хувилбар солих

Дусал нэвтэрхий толь-с

ISPConfig ажиллах PHP хувилбар нь сольж болохгүй байх үед хэрхэн солих заавар.

chattr -i  /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter
chown root:root /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter
vim /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter

Доорх байдлаар солино.

#!/bin/sh
PHPRC=/etc/php/7.4/cgi/
export PHPRC
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=1
exec /usr/bin/php-cgi7.4 \
    -d disable_classes= \
    -d disable_functions= \
    -d magic_quotes_gpc=off \
    -d open_basedir= \
    -d session.save_path=/usr/local/ispconfig/interface/temp

Дээрх жишээнд 7.4 болгож солисон.

cat /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter
chown ispconfig:ispconfig /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter
chattr +i  /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter

Тохиргоо шалгаад Apache2 service restart.

apache2ctl configtest
systemctl restart apache2
systemctl status apache2