Server is CentOS Linux release 7.9.2009 (Core). A web site uploads a CSV file for import. I am told it worked approximately Jan. 20. On Jan. 27 we installed CentOS updates. As the server admin I made no other recent changes and Plesk updated in early January. This week when the user tried to import it logged:
[Tue Feb 02 08:15:12.000066 2021] [proxy_fcgi:error] [pid 2759:tid 140256493913856] [client x.x.x.x:48434] AH01071: Got error 'PHP message: PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0\n', referer: https://server/import.php
In the PHP settings for the web site if I set "upload_tmp_dir=/tmp" then the upload works.
Per Zend, PHP should use the system tmp dir if unset. Since there was no code changes on this site, I am confused why it would stop working. The site is old so it is using PHP 5.6 (yes I know) so PHP was not updated last month.
Has anyone else seen this? Or have any idea why it would start happening?
[Tue Feb 02 08:15:12.000066 2021] [proxy_fcgi:error] [pid 2759:tid 140256493913856] [client x.x.x.x:48434] AH01071: Got error 'PHP message: PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0\n', referer: https://server/import.php
In the PHP settings for the web site if I set "upload_tmp_dir=/tmp" then the upload works.
Per Zend, PHP should use the system tmp dir if unset. Since there was no code changes on this site, I am confused why it would stop working. The site is old so it is using PHP 5.6 (yes I know) so PHP was not updated last month.
Has anyone else seen this? Or have any idea why it would start happening?