c0mm0ner schriebDer User braucht zum Reinwechseln (_r_ead) keine Ausführungsrechte (e_x_ecute). Ein gateway timeout weist ja eigentlich daraufhin, dass das backend (php) hier nicht im Rahmen des Timeout Daten liefert. Schau mal in den php und nginx configs nach den maximalen Laufzeiten für Requests.
In der
/etc/nginx/nginx.conf steht folgendes:
http {
include mime.types;
default_type application/octet-stream;
error_log /var/log/nginx/error.log debug;
sendfile on;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout 65;
#gzip on;
server {
listen 80;
# listen 443 ssl;
server_name flyspray.mydomain.home;
location / {
root /home/WWW/flyspray;
index index.php;
}
location ~ \.(php|html|htm)$ {
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
root /home/WWW/flyspray;
index index.php;
include fastcgi_params;
}
}
Ich denke, Du meinst:
keepalive_timeout 65;. Zu PHP muss ich nochmal genau durch die
.conf und
.ini Dateien schauen; ich habe gerade gesehen, dass in
/etc/php/ noch
.pacnew liegen.
Hier noch die letzten Zeilen aus
/var/log/nginx/error.log:
2015/11/13 22:33:58 [error] 911#0: *1 FastCGI sent in stderr: "PHP message: PHP
Deprecated: Non-static method Setup::ReturnStatus() should not be called static
ally, assuming $this from incompatible context in /home/WWW/flyspray/includes/cl
ass.tpl.php(128) : eval()'d code on line 20
PHP message: PHP Deprecated: Non-static method Setup::ReturnStatus() should not
be called statically, assuming $this from incompatible context in /home/WWW/fly
spray/includes/class.tpl.php(128) : eval()'d code on line 25" while reading response header from upstream, client: 172.16.0.4, server: flyspray.mydomain.home, request: "GET /setup/ HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "flyspray"
2015/11/13 22:33:58 [error] 911#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/WWW/flyspray/includes/class.tpl.php(128) : eval()'d code on line 42" while reading upstream, client: 172.16.0.4, server: flyspray.mydomain.home, request: "GET /setup/ HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "flyspray"
2015/11/13 22:34:04 [error] 911#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/WWW/flyspray/includes/class.tpl.php(128) : eval()'d code on line 42" while reading upstream, client: 172.16.0.4, server: flyspray.mydomain.home, request: "POST /setup/index.php HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "flyspray", referrer: "http://flyspray/setup/"
aber außer, dass er der Zeit/Datums-Einstellung nicht traut, sehe ich da keinen Hinweis.
Ciao,
Photor