PHP Ghostscript error, but command line works fine (decoding pdf to png)Get the solution ↓↓↓
Looks to me like you are using a build of Ghostscript which uses shared libraries, and the system can't find the libtiff 8 dynamic library.
You appear to have libtiff 5 installed, you need libtiff 8. Presumably libtiff 8 is installed for your user, but not the PHP user which is why it works for you from the command line.
Or you can use a build of Ghostscript which doesn't use shared libraries, but that will mean building it yourself as it looks like the packager for your distro has chosen to use shared libraries.
Share solution ↓
Link To Answer People are also looking for solutions of the problem: the metadata storage is not up to date, please run the sync-metadata-storage command to fix this issue.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.