在CentOS6.5下,PHP: ImageMagick报错:Unable to read the file的解决!
1、程序截图,new Imagick:
2、浏览器运行时报错:Unable to read the file
3、运行命令:rpm -qa | grep ghostscript,发现没有安装gs软件,运行命令:yum install ghostscript
4、文件上传成功,且成功生成相应的png图片:
由 永夜 · 2015/11/06
1、程序截图,new Imagick:
2、浏览器运行时报错:Unable to read the file
3、运行命令:rpm -qa | grep ghostscript,发现没有安装gs软件,运行命令:yum install ghostscript
4、文件上传成功,且成功生成相应的png图片:
我是拥有 15+ 年经验的 PHP / Go 后端工程师。如需以下服务,欢迎联系我(更多介绍请查看 关于我 & 合作):
- ✅ PHP / Go 项目开发与维护
- ✅ 系统架构设计与技术咨询
- ✅ 网站性能优化与故障排查
- ✅ Linux 服务器部署与运维
- ✅ 网络环境优化与远程支持
- ✅ 长期技术顾问合作
微信:13980074657
邮箱:shuijingwanwq@gmail.com
Telegram:@shuijingwan
GitHub:https://github.com/shuijingwan
标签: ImageMagickImagickghostscript