Drop PHP7.0 support

This commit is contained in:
Daniel Winzen
2018-11-18 20:50:35 +01:00
parent db626a54a4
commit 41b33f2c51
5 changed files with 1 additions and 63 deletions

View File

@ -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
}

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 REQUIRE_APPROVAL=false; //require admin approval of new sites? true/false
const ADMIN_PASSWORD='MY_PASSWORD'; //password for admin interface 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 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_VERSIONS=[2 => '7.1', 3 => '7.2', 4 => '7.3'];
const PHP_CONFIG='memory_limit = 256M const PHP_CONFIG='memory_limit = 256M
error_reporting = E_ALL error_reporting = E_ALL