Title: Please install Ghostscript! Warning
Last modified: August 31, 2016

---

# Please install Ghostscript! Warning

 *  [welshhuw](https://wordpress.org/support/users/welshhuw/)
 * (@welshhuw)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/)
 * Hi
 * I’m building a site using MAMP PRO and have installed Ghostscript and ImagMagick
   but when trying to Activate the plugin I get this message:
 * Please install “GhostScript” before activate the plugin!
 * Further investigation I also get this: Array ( ) / $ver: 127 / gs version:
 * I know this may be a MAMP PRO related query but I cannot find a solution anywhere?!
 * Any advice would be most welcome as this plugin looks great.
 * Thanks
 * [https://wordpress.org/plugins/pdf-image-generator/](https://wordpress.org/plugins/pdf-image-generator/)

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/please-install-ghostscript-warning/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/please-install-ghostscript-warning/page/2/?output_format=md)

 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135748)
 * I’m having the exact same problem :S
    I’ve contacted my server providers and 
   Ghostscript is up and running.
 * Love the plugin and it would be great if this problem got solved 🙂
 * Thanks!
 *  Plugin Author [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * (@fishpie)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135761)
 * I changed the process of confirmation.
    Try version 1.3.9
 * I hope some people will be helped by this update.
 * Thank you.
 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135763)
 * Still running into the same critical error 🙁
 *  Plugin Author [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * (@fishpie)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135765)
 * Thank you for reporting it.
    I fixed the way of verification again.
 *     ```
       if ( shell_exec( 'gs --version' ) ){
        // with gs
       }
       ```
   
 * to
 *     ```
       $gs = exec( 'which gs' );
       if ( strpos( $gs, 'no gs' ) === false ){
        // with gs
       }
       ```
   
 * Try Development version 1.4.0b
    [https://downloads.wordpress.org/plugin/pdf-image-generator.zip](https://downloads.wordpress.org/plugin/pdf-image-generator.zip)
 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135766)
 * Now I’m able to activate the plugin but I get the default WP icon on the PDF’s.
   I cant see any generated images.
 *  Plugin Author [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * (@fishpie)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135770)
 * It seems the “gs” command doesn’t work.
 * If you can select “Use imagick PHP Extension” on the plugin settings page, try
   this.
    If you cannot select it, add “extension=imagick.so” to your php.ini file
   and try again.
 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135778)
 * Hi!
    The “Use imagick PHP Extension” is activated when I install the plugin and
   I cannot deactivate it. There is still no images being generated when I upload
   PDF’s sadly.
 *  Plugin Author [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * (@fishpie)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135779)
 * Just to make sure – did you try another PDF?
    Some PDFs are not going to be converted
   by imageMagick.
 * Test this code in your functions.php or template file.
 *     ```
       if ( is_user_logged_in() ) {
       	$gs = exec( 'which gs' );
       	echo '$gs;
       }
       ```
   
 * If the path is unavailable, at least in this version, the plugin doesn’t work
   without personally customizing.
 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135780)
 * I pasted :
 *     ```
       if ( is_user_logged_in() ) {
       	$gs = exec( 'which gs' );
       	echo $gs;
       }
       ```
   
 *  in my functions.php but nothing is getting echoed.
 *  Plugin Author [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * (@fishpie)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135781)
 * Did you login?
 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135784)
 * Yes I did. I even tried to echo some random text instead of $gs to see if it 
   showed, and it did. The $gs on the other hand returns nothing.
 *  Plugin Author [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * (@fishpie)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135787)
 * I guess the Ghostscript is installed in a different location.
    I tried to change
   the plugin option that is able to set manually the path to the gs from PHP, but
   it is failed.
 * I found a topic with more information on configuring MAMP and Ghostscript:
 * [MAMP had installed Ghostscript in a different location](http://wordpress.org/support/topic/trouble-finding-ghostscript-path)
 * In this case, you need manually change the delegate path to gs.
 * [Imagick/Ghostscript error with PDF input](http://stackoverflow.com/questions/27592913/imagick-ghostscript-error-with-pdf-input)
 * I don’t know a lot about MAMP, so I can’t give you any more information. Thanks
   for your understanding and your patience.
 * I really hope that gives you what you need.
 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135788)
 * I asked my hosting provider and he tells me that the path to ghostscript is “/
   usr/local/bin/gs”. Could this be the issue? 🙂
 *  Plugin Author [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * (@fishpie)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135789)
 * The path itself is not the issue. It seems that your imagick is unable to find
   the path to ghostscript.
    It possibly can to compliant this issue by the plugin,
   but it looks very difficult.
 *  [Halvordsson](https://wordpress.org/support/users/halvordsson/)
 * (@halvordsson)
 * [10 years ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/#post-7135791)
 * Ok.
    The thing is that the plugin worked great on this site before we migrated
   it to the current domain. We still use the same webhost as before, just migrated
   the site from one account to another. Is there any setting saved in a file that
   doesnt reset when reinstalling the plugin thats might still point to the old 
   location? I just cant get my head around why it was working at first, but not
   after migration when we still use the same hosting service.
 * Cheers !

Viewing 15 replies - 1 through 15 (of 19 total)

1 [2](https://wordpress.org/support/topic/please-install-ghostscript-warning/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/please-install-ghostscript-warning/page/2/?output_format=md)

The topic ‘Please install Ghostscript! Warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pdf-image-generator_c3bea9.svg)
 * [PDF Image Generator](https://wordpress.org/plugins/pdf-image-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-image-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-image-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-image-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-image-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-image-generator/reviews/)

 * 19 replies
 * 5 participants
 * Last reply from: [Mizuho Ogino](https://wordpress.org/support/users/fishpie/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/please-install-ghostscript-warning/page/2/#post-7135804)
 * Status: not resolved