Page 1 of 1

Session Variable - PHP-Problem

Posted: 2018-09-03 22:02
by deiszner
Guten Abend,

ich habe auf einer anderen Maschine php installiert mit Hilfe des Tutorials:

https://christophfischer.com/linux/1...ebian-50-lenny

Das ganze beruhte auf php 5.

Die neue Debian-Version hat ja nur noch php 7 - also habe ich das Setup mit php 7 nachgebaut.

Wenn ich Joomla aber installieren möchte, kommt im Apache-error.log folgende Meldung

[Mon Sep 03 16:18:39.120039 2018] [fcgid:warn] [pid 4913] [client 84.142.135.28:63636] mod_fcgid: stderr: PHP Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp) in /var/www/deinuser/htdocs/libraries/joomla/session/handler/native.php on line 194

phpinfo sagt folgendes:

Ich hatte das ganze schon im Joomla-Forum adressiert, aber das scheint eher ein Problem der php-Installation zu sein als von Joomla.

Ich bin völlig ratlos - vor allem weil /tmp folgende Rechte aufweist:

drwxrwxrwt 11 root root 4096 Sep 3 20:53 tmp

Vorschläge ?

gruss

Sebastian

Re: Session Variable - PHP-Problem

Posted: 2018-09-03 22:59
by Joe User
Seit PHP 5.5 nutzt man nur noch PHP-FPM statt mod_fcgid oder mod_php, daher kannst Du den Blog da oben in die Tonne treten.

Du kannst Dir eine gute Konfiguration aus meinen FreeBSD-HowTos zusammenstellen, Du musst sie halt nur an Dein Linux-System anpassen:
https://www.rootservice.org/de/howtos/f ... ver/apache
https://www.rootservice.org/de/howtos/f ... server/php

Stichworte für eine Googlesuche wären: PHP-FPM Apache mod_proxy_fcgi Debian