on a site with php 7
Warning: session_start(): open(/var/lib/php5/sess_8919etsicjbi58kj0vut8fg8v7, O_RDWR) failed: Permission denied (13) in /srv/www/vhosts/mysite.ch/httpdocs/libraries/joomla/session/handler/native.php on line 258
Warning: session_write_close(): open(/var/lib/php5/sess_8919etsicjbi58kj0vut8fg8v7, O_RDWR) failed: Permission denied (13) in /srv/www/vhosts/mysite.ch/httpdocs/libraries/joomla/session/handler/native.php on line 192
Warning: session_write_close(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5) in /srv/www/vhosts/mysite.ch/httpdocs/libraries/joomla/session/handler/native.php on line 192
Apache Linux Server
This is an issue with your local configuration. The install app requires read/write access to the path that your PHP configuration defines for the
session.save_path variable to write session data. If
session.save_path doesn't have a value, then the path returned by
sys_get_temp_dir() is used instead.
|Closed_Date||0000-00-00 00:00:00||⇒||2016-06-17 12:17:41|
only to say, when I change on the same place to php 5.6. it installs without any problems!
Check for differences between the PHP 5.6 and 7.0 configurations. It is not an issue of PHP version incompatibility.
No Code Attached Yet
PHP Warning: session_start(): Failed to read session data: user (path: /tmp) in /var/www/html/libraries/joomla/session/session.php on line 654
I am having the same issue with PHP 7, tried different directories for session.save_path, made sure the permissions were correct (directory owned by http user). Installing and enabling PHP 5.6 fixed the problem
This is not an issue in the core Joomla install unfortunately; Joomla core runs correctly on all stable PHP releases. The fact that it works on PHP 5.6 and not on PHP 7 is indicative of a server misconfiguration.
Just wanted to comment that I eventually fixed my problem by enabling mysqli.so in my php.ini for PHP7
mysqli is enabled by default in php7 and mysql is not present at all in php 7 - to me this was just a bad install/configuration of php
Yeah I guess it's poor configuration on my part since I'm using a MariaDB database, but I will note that a fresh install of PHP 7 on Arch Linux has mysqli.so disabled. https://git.archlinux.org/svntogit/packages.git/tree/trunk/php.ini.patch?h=packages/php
I know this topic is closed but it has more discussion than I am finding elsewhere. I changed my tmp folder to 775 and 777 (yikes) and still no go. My php ini has this set to this dir and mysqli.so enabled. Any ideas or should I file a ticket with the host?
Go to your host. Joomla core has worked correctly with PHP 7 since Joomla 3.5.0 was released.
If you're able to consistently reproduce an issue that might look like a core bug, feel free to open a new item.
For me solution was remove
: symbol in configuration.php in