You are not logged in.
For me update php 7.1.1-1 cause problems with:
phpmyadmin
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
session_start(): open(SESSION_FILE, O_RDWR) failed: No such file or directory (2)
session_start(): Failed to read session data: files (path: )
zabbix gui
white screen
log:
2017/01/21 17:34:06 [error] 1815#1815: *31 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Exception: Cannot start session. in /usr/share/webapps/zabbix/include/classes/core/CSession.php:50
Stack trace:
#0 /usr/share/webapps/zabbix/include/page_header.php(22): CSession::start()
#1 /usr/share/webapps/zabbix/include/views/general.login.php(30): require_once('/usr/share/weba...')
#2 /usr/share/webapps/zabbix/include/classes/mvc/CView.php(139): include('/usr/share/weba...')
#3 /usr/share/webapps/zabbix/index.php(120): CView->render()
#4 {main}
thrown in /usr/share/webapps/zabbix/include/classes/core/CSession.php on line 50" while reading response header from upstream, client: 192.168.122.1, server: machine1.lan, request: "GET /zabbix/ HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/php-fpm-zb.sock:", host: "machine1.lan"
nextcloud
redis module need rebuild (yaourt -S php-redis)
owncloud
white screen, seems incompatible with php 7.1
Anyone has similar problems or managed to solve it?
Last edited by avi9526 (2017-01-23 02:58:30)
Offline
errors related to session creation is seems to be caused by the "PrivateTmp=true" in php-fpm.service. Every webapp on my pc is running in own php-fpm pool with own unix user and can't access files of other pool, to prevent problems (I saw conflicts because different pools used same name for session file of client) I had to make new tmp folders for each pool (using systemd *.mount files), like "/tmp/php-fpm-pma". It worked fine. But after update to php 7.1 pools no longer able to read /tmp (which looks kinda correct for "PrivateTmp=true", now I have no idea why it worked before), and each pool try reach his tmp folder inside php-fpm private folder (/tmp/systemd-private-...-php-fpm.service-...), which does not exist. The further the more it looks like a bad way to isolate pools, but I guess its fine.
solved
PS
phpldapadmin give unknown error which is related to deprecation of mcrypt function, its not yet removed, but webapp not working, this can be dirty fixed by adding
if ($errno == E_DEPRECATED) {
return;
}
to line 161 in "/usr/share/webapps/phpldapadmin/lib/functions.php"
Last edited by avi9526 (2017-01-23 03:33:39)
Offline
for the ZABBIX using PHP-FPM is a problem related with the ownership of the session folder.
inside:
/etc/opt/remi/php71/php-fpm.d/yuour_config.conf
this session:
php_value[session.save_path] = /var/opt/remi/php71/lib/php/session
needs to have the same ownership as the pool that is running.
Last edited by h0gr3 (2017-10-26 09:36:47)
Offline