Q
Q
Quintis2021-02-27 20:55:41
Apache HTTP Server
Quintis, 2021-02-27 20:55:41

How to solve server error session_start(): Session data file is not created by your uid?

I installed xamp on Linux, everything works well, but when I want to distribute a folder from another directory, I get an error:

session_start(): Session data file is not created by your uid

session_start(): Failed to read session data: files (path: /opt/lampp/temp/)


What I did in configs:
Added a new root:
<Directory "/home">
    Options Indexes FollowSymLinks ExecCGI Includes
    AllowOverride All
    Require all granted
</Directory>


Added Alias ​​/kurland "/home" to <IfModule alias_module>
Changed User c daemon to the account name and everything works

Please tell me what to do?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question