Hi All,
I have stumbled across a strange problem while upgrading a system to v2025 and wondering if anyone has come across it as well.
I have an older PHP system
- developed using v2020
- running on Apache2
- Server is Ubuntu 24.04
- PHP 8.3
- Mysql8
I have run up the old version on the Ubuntu 24.04 DEV server and it runs fine after a couple of tweaks just as it does in production.
Using “Inspect”, (Chrome DEV tools) I watch the PHPSESSID cookie and it remains steady with the same name and data through each page load. Everything works as expected.
I than move over to the system I upgraded to v2025 and with each page load the cookie name (PHPSESSID) changes and data variables disappear which then causes my code to dump.
I have compared each php.ini setting with the production settings and they are identical. The v2020 system runs fine with the current settings.
When I watch the session directory on the server, I can see the session files being created and removed which doesn’t quite make sense to me as it seems to indicate that a new session is being created at different times.
Has anyone had problems similar to this?
My older version works fine under the same configuration but the newer 2025 version doesn’t.
TIA
Steve.