PHP: Uncaught ImagickException: PDFDelegateFailed

I got issue in Ghostscript 9.22 installation that was 64-bit, I uninstalled that and installed Ghostscript 9.22 32-bit. Issue Fixed.

Thanks for your help.

ImageMagick can't find Ghostscript. The most usual reason for this is that the Ghostscript path is not in the $PATH environment variable, so IM doesn't know where to find it.

Add the Ghostscript installation path (which will vary depending on your OS and the package you use if its a Linux flavour and you us a package) to the $PATH environment variable for the user whic is active when your PHP script runs.