Fix for php session path not being writable in the cli