I have an OroCRM instance (Symfony based CRM) installed on a remote server. I have to run it with a local apache2 server with its root set to an sshfs-mounted directory (accessed with a single joint account; logged in with ssh key) thus the sessions' path/ownership should not be changed.
This makes sessions unable to work since the user on my local machine does not match the remote one.
I get the following errors:
PHP Warning: SessionHandler::read(): Session data file is not created by your uid in on line
PHP Warning: SessionHandler::write(): Session data file is not created by your uid in on line
PHP Warning: session_write_close(): Failed to write session data using user defined save handler. (session.save_path: ) in Unknown on line 0
How do I make PHP ignore the uid
of the path?