hi danton,
da schau ich morgen nochmal ne halbe Minute drüber.
Aber mitunter bin ich soweit, dass ich das System neu aufsetze.
Da stimmt irgendwas nicht.
ICh habe mein Script gestern 3 mal aufgerufen und 3 verschiedene Zeitspannen zurückbekommen:
1: 25 Minuten und 45 Sekunden
2: 20 Minuten und 59 Sekunden
3: 17 Minuten und 0 Sekunden
Der Fehler hingegen ist immer der gleiche geblieben.
Und nein. zwischen den 3 Läufen habe ich nichts geändert.
Irgendwas stimmt da nicht.
Asoo.. Debian 9 mit ISP Config und PHP-FPM 5.6/7.0/7.1/7.2
alternativ kann man das ganze natürlich auch im jeweiligen vHost konfigurieren, wenn man pro vHost unterschiedliche Einstellungen braucht.
So sieht die von ispconfig aktuell aus.
Muß doch bestimmt wieder in ein bestimmten Bereichen ?
Vermutlich in den mod_proxy_fcgi.c
Code:
root@debian:~# cat /etc/apache2/sites-enabled/100-wawi.local.vhost
<Directory /var/www/wawi.local>
AllowOverride None
Require all denied
</Directory>
<VirtualHost *:80>
DocumentRoot /var/www/clients/client0/web1/web
ServerName wawi.local
ServerAlias www.wawi.local
ServerAdmin webmaster@wawi.local
ErrorLog /var/log/ispconfig/httpd/wawi.local/error.log
<IfModule mod_ssl.c>
</IfModule>
<Directory /var/www/wawi.local/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<Directory /var/www/clients/client0/web1/web>
# Clear PHP settings of this website
<FilesMatch ".+\.ph(p[345]?|t|tml)$">
SetHandler None
</FilesMatch>
Options +FollowSymLinks
AllowOverride All
Require all granted
</Directory>
<IfModule mod_fastcgi.c>
<Directory /var/www/clients/client0/web1/cgi-bin>
Require all granted
</Directory>
<Directory /var/www/wawi.local/web>
<FilesMatch "\.php[345]?$">
SetHandler php-fcgi
</FilesMatch>
</Directory>
<Directory /var/www/clients/client0/web1/web>
<FilesMatch "\.php[345]?$">
SetHandler php-fcgi
</FilesMatch>
</Directory>
Action php-fcgi /php-fcgi virtual
Alias /php-fcgi /var/www/clients/client0/web1/cgi-bin/php-fcgi-*-80-wawi.local
FastCgiExternalServer /var/www/clients/client0/web1/cgi-bin/php-fcgi-*-80-wawi.local -idle-timeout 300 -socket /var/lib/php7.0-fpm/web1.sock -pass-header Authorization -pass-header Content-Type
</IfModule>
<IfModule mod_proxy_fcgi.c>
#ProxyPassMatch ^/(.*\.php[345]?(/.*)?)$ unix:///var/lib/php7.0-fpm/web1.sock|fcgi://localhost//var/www/clients/client0/web1/web/$1
<Directory /var/www/clients/client0/web1/web>
<FilesMatch "\.php[345]?$">
SetHandler "proxy:unix:/var/lib/php7.0-fpm/web1.sock|fcgi://localhost"
</FilesMatch>
</Directory>
</IfModule>
# add support for apache mpm_itk
<IfModule mpm_itk_module>
AssignUserId web1 client0
</IfModule>
<IfModule mod_dav_fs.c>
# Do not execute PHP files in webdav directory
<Directory /var/www/clients/client0/web1/webdav>
<ifModule mod_security2.c>
SecRuleRemoveById 960015
SecRuleRemoveById 960032
</ifModule>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None
</FilesMatch>
</Directory>
DavLockDB /var/www/clients/client0/web1/tmp/DavLock
# DO NOT REMOVE THE COMMENTS!
# IF YOU REMOVE THEM, WEBDAV WILL NOT WORK ANYMORE!
# WEBDAV BEGIN
# WEBDAV END
</IfModule>
</VirtualHost>
root@debian:~#