Skip to content

Ensure PHP session store exists and server user has write permission #2082

@JedMeister

Description

@JedMeister

All apps that include PHP (i.e. all LAMP/LAPP based apps) should have the PHP sessions dir (/var/lib/php/sessions) and it should be writable by the webserver user (www-data). It doesn't seem to cause issue for most apps - at least from my experience - but if that is not the case weird PHP app issues may occur that may not be immediately apparent and/or hard to diagnose. I.e.:

FYI SuiteCRM is tagged as that is the specific app where I discovered this issue (and have not seen it anywhere else to date). Prior to this fix being applied SuiteCRM would show "Error occurred while retrieving records" when loading most pages - although not straight away. SuiteCRM appeared to continue to be fully functional despite the error message but it's obviously better to fix it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions