diff --git a/etc/logrotate.d/php7.0-fpm b/etc/logrotate.d/php7.0-fpm deleted file mode 100644 index e1ef82b..0000000 --- a/etc/logrotate.d/php7.0-fpm +++ /dev/null @@ -1,11 +0,0 @@ -/var/log/php7.0-fpm*.log { - rotate 1 - daily - missingok - notifempty - compress - delaycompress - postrotate - /usr/lib/php/php7.0-fpm-reopenlogs - endscript -} diff --git a/etc/systemd/system/php7.0-fpm.service b/etc/systemd/system/php7.0-fpm.service deleted file mode 100644 index a9f134b..0000000 --- a/etc/systemd/system/php7.0-fpm.service +++ /dev/null @@ -1,17 +0,0 @@ -# This service is actually a systemd target, -# but we are using a service since targets cannot be reloaded. - -[Unit] -Description=The PHP 7.0 FastCGI Process Manager (multi instance master) -Documentation=man:php-fpm7.0(8) -After=network.target - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/bin/true -ExecReload=/bin/true - -[Install] -WantedBy=multi-user.target - diff --git a/etc/systemd/system/php7.0-fpm@.service b/etc/systemd/system/php7.0-fpm@.service deleted file mode 100644 index dc9f38f..0000000 --- a/etc/systemd/system/php7.0-fpm@.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=The PHP 7.0 FastCGI Process Manager (instance %i) -Documentation=man:php-fpm7.0(8) -After=network.target -PartOf=php7.0-fpm.service -ReloadPropagatedFrom=php7.0-fpm.service - -[Service] -Type=notify -PIDFile=/run/php/php7.0-fpm-%i.pid -ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm-%i.conf -ExecReload=/bin/kill -USR2 $MAINPID -LimitNOFILE=100000 -TimeoutStartSec=300 - -[Install] -WantedBy=multi-user.target diff --git a/etc/systemd/system/php7.0-fpm@default.service b/etc/systemd/system/php7.0-fpm@default.service deleted file mode 100644 index 6c3db2f..0000000 --- a/etc/systemd/system/php7.0-fpm@default.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=The PHP 7.0 FastCGI Process Manager -Documentation=man:php-fpm7.0(8) -After=network.target -PartOf=php7.0-fpm.service -ReloadPropagatedFrom=php7.0-fpm.service - -[Service] -Type=notify -PIDFile=/run/php/php7.0-fpm.pid -ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf -ExecReload=/bin/kill -USR2 $MAINPID -LimitNOFILE=100000 -TimeoutStartSec=300 - -[Install] -WantedBy=multi-user.target diff --git a/var/www/common.php b/var/www/common.php index 36c9e1a..2ff9fd0 100644 --- a/var/www/common.php +++ b/var/www/common.php @@ -19,7 +19,7 @@ const INDEX_MD5S=[ //MD5 sums of index.hosting.html files that should be considd const REQUIRE_APPROVAL=false; //require admin approval of new sites? true/false const ADMIN_PASSWORD='MY_PASSWORD'; //password for admin interface const SERVICE_INSTANCES=['2', '3', '4', '5', '6', '7', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']; -const DISABLED_PHP_VERSIONS=[1 => '7.0']; +const DISABLED_PHP_VERSIONS=[]; const PHP_VERSIONS=[2 => '7.1', 3 => '7.2', 4 => '7.3']; const PHP_CONFIG='memory_limit = 256M error_reporting = E_ALL