• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

WHMCS PHP Session

Chad

Basic Pleskian
Hello,

Testing out migrating WHMCS to our Plesk 12 install on CloudLinux - while all other PHP related apps are working just fine. WHMCS has the log-in(refresh) issue, where you try to log-in and the page simply refreshes. Have been in touch with WHMCS and they feel it's a php session related item, however do not have much more information on this subject.

There's a test script WHMCS provides which shows a count that is supposed to increment with each refresh, in this case the count does not increase. Therefore showing there is an issue, but what the cause is still remains the question.

Has anyone else experienced this, any insight on what could be the solution? Seems to be something small, a tweak and we should be good;) Any insight would be appreciated.

Thanks,

Chad
 
Check/note the permissions of:
/var/lib/php/session
In case you need to set them back.

Then perhaps this command will do the job:
chmod 1733 /var/lib/php/session

as per : http://kb.odin.com/en/115704

Although this KB article is specifically for a slightly different issue, is similar potential cause/workaround.
i.e. the script tries to create the session but cannot write it, so login is successful, then the required session file is not there.

If it does fix the problem for you, likely need to reapply this whenever you run yum update and it includes any php update.
 
Back
Top