Jan Krohn Posted July 6, 2022 Posted July 6, 2022 I'm getting error 4S109/5 during upgrade: We were unable to start a PHP session. You will need to contact your host to adjust your PHP configuration before you can continue. The error reported was: session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php72) I noticed that the path is incorrect though. It should be ea-php74, since PHP 7.4 is installed. I did check in php.ini, and directly on the server, and can confirm that ea-php74 is correct. It looks to me that the upgrade routine fetches the path from somewhere else, and not from php.ini. I already tried re-installing PHP 7.2 with the same config as I now have on PHP 7.4, but it still doesn't work (server error 500, likely due to depracated PHP functions). My next idea was to find the location where this path is configured, and overwrite it manually to ea-php74, but couldn't find it. So unless there's some other idea how to fix this, I could need some help finding the place where to overwrite the path. (It would still be a workaround though. To fix properly, the upgrade routine needs to fetch the session data path from PHP configuration.)
Marc Posted July 6, 2022 Posted July 6, 2022 You will need to contact your hosting company on this issue. The system is picking up that path from your PHP configuration, so it is there it would need to be fixed. Only your hosting company can answer the question as to where
Solution Jan Krohn Posted July 6, 2022 Author Solution Posted July 6, 2022 Thanks! If anyone else stumbles over this issue: the session path was overwritten in the .htaccess file. How the line got in there, I have no idea. But I doubt that it was done by Invision.
Mark H Posted July 6, 2022 Posted July 6, 2022 Glad to hear you got the issue resolved. 🙂 (And to my knowledge, that path override was never part of the .htaccess rules we offer via the ACP.)
Recommended Posts