我在 Linux 上运行 PHP7.3.27 并运行该行
$fn = '/var/www/vhosts/.........../myfile.png';
$im = new imagick($fn);
(myfile.png 存在的地方,如果直接从浏览器运行可以查看) 但我收到以下错误:
Uncaught ImagickException: unable to open file `/tmp/magick-5465d-r7LT2tZ8Ip': No such file or directory @ error/constitute.c/ReadImage/604 in ....
当我针对另一个测试文件运行时,它工作正常。 导致此问题的 myfile.png 是什么?