I had exactly the same problem. PHP reported no problem with opening file in /tmp/myoutputfile
, but no file was in that path. Then I did
find / -name "myoutputfile"
and found it in /tmp/systemd-…/myoutputfile
.
I've found this article on Google.
So, in my case, it was a Systemd and Apache Httpd combination. I hope this will help to someone.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…