Home >Backend Development >PHP Tutorial >linux - php session cannot write to tmp file

linux - php session cannot write to tmp file

WBOY
WBOYOriginal
2016-08-20 09:04:022146browse

Yesterday I recompiled and installed the php5.6.24 version, and today I found that the session could not be written. After debugging, the file will be generated, and the modification time of the file will also change once executed, but there is no content in the file

linux - php session cannot write to tmp file
linux - php session cannot write to tmp file

Later I changed the session.save_pathaddress and the content was written normally. What is the problem?

The permissions of

/tmp have not been touched either

Reply content:

Yesterday I recompiled and installed the php5.6.24 version, and today I found that the session could not be written. After debugging, the file will be generated, and the modification time of the file will also change once executed, but there is no content in the file

linux - php session cannot write to tmp file
linux - php session cannot write to tmp file

Later I changed the session.save_pathaddress and the content was written normally. What is the problem?

The permissions of

/tmp have not been touched either

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn