I've added a 2nd PHP environment (7.3.3) to IIS7.5 (required PHP update for compliance), and I have it assigned to a specific test directory - I can confirm with phpinfo() that this directory is now on v7.3.3.
The site that I setup on the new PHP version is now having issues with $_SESSION
variables.
I have a blank PHP page that I'm using to troubleshoot. At the beginning of the document, I simply have session_start()
. Then I'm trying to simply echo $_SESSION['sid']
- regardless of this variable being empty, it should still resolve the page, and echo nothing. However, this is returning an internal 500 server error.
I have a feeling that there is a setting in the new php.ini file for v7.3 that I'm missing for sessions. I've been doing some deep page googling with no luck yet, so now I'm here hoping for a nudge in the right direction.
Additionally, when I remark the session.save_path
, and attempt to initialize the session_start()
without the session variable, it also gives a 500 internal server error, so it appears that my session.save_path is setup correctly (had permissions already setup from prior PHP version build).
I've also tried displaying errors, but it just shows internal 500 server error still. If there's anything I should provide to help try and troubleshoot, please let me know.