[01-Oct-201513: 41: 29PRC] PHPWarning: error_log(tmplogsweixinasss.txt): failedtoopenstream: handle the above php-fpm error log...
[01-Oct-2015 13:41:29 PRC] PHP Warning: error_log (/tmp/logs/weixin/asss.txt): failed to open stream: no such file or directory in/usr/share/nginx/html/test2.php on line 3
The above php-fpm Error Log clearly shows this file and directory. Why does it prompt No such file or directory, (/usr/share/nginx/html/This directory can be written in)
Reply content:
[01-Oct-2015 13:41:29 PRC] PHP Warning: error_log (/tmp/logs/weixin/asss.txt): failed to open stream: no such file or directory in/usr/share/nginx/html/test2.php on line 3
The above php-fpm Error Log clearly shows this file and directory. Why does it prompt No such file or directory, (/usr/share/nginx/html/This directory can be written in)
Who gives negative ratings? I'm sorry. Someone gives negative ratings every day. I want to complain !!
What do you think is an idiot problem that can be solved by a 777 change.
Today I discovered the PrivateTmp issue in the systemd service management.
It's a Japanese dog.
The prompt is that this path does not exist:
/tmp/logs/weixin/asss.txt
Check the file permissions. If the file does exist, it may not have the read and write permissions.