Fixed an issue with php session permissions