I want to generate images from pdf pages in PHP. I am using imagick php extention to achieve this but I am getting error below when i am tring to read pdf file by imagick
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.