Title: Note: exec() is not accessible. Ghostscript will not function
Last modified: August 22, 2016

---

# Note: exec() is not accessible. Ghostscript will not function

 *  Resolved [AKayMeRoo](https://wordpress.org/support/users/akaymeroo/)
 * (@akaymeroo)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/note-exec-is-not-accessible-ghostscript-will-not-function/)
 * What are my options in using this plugin? I see the exec() is not accessible 
   via the Advanced tab and I have received this feedback from my hosting provider:
 * >You will want to verify with the plugin author that it does not require
    > the
   exec() / exec.php or url_fopen functions, as both of those have >been disabled
   on our hosting for security reasons.
 * They have successfully installed Ghostscript, but I am thinking I will not be
   able to use it because exec() is not accessible.
 * [https://wordpress.org/plugins/document-gallery/](https://wordpress.org/plugins/document-gallery/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * (@danrossiter)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/note-exec-is-not-accessible-ghostscript-will-not-function/#post-5913371)
 * Hi AKayMeRoo,
 * Unfortunately exec is required in order to use Ghostscript.
 * However, you can still use Imagick without exec being available. Imagick is a
   bit slower than Ghostscript, but unless you’re generating thumbnails for extremely
   large PDFs, this should not be an issue. If the Imagick option is disabled, you’ll
   need to speak with your hosting provider about enabling the PHP Imagick extension.
 * All the best,
    Dan
 * PS: If you’ve found this plugin useful, please take a moment to [rate it](http://wordpress.org/support/view/plugin-reviews/document-gallery#postform).
   Thanks! 🙂

Viewing 1 replies (of 1 total)

The topic ‘Note: exec() is not accessible. Ghostscript will not function’ is closed
to new replies.

 * ![](https://ps.w.org/document-gallery/assets/icon.svg?rev=983329)
 * [Document Gallery](https://wordpress.org/plugins/document-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/document-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/document-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/document-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/document-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/document-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Dan Rossiter](https://wordpress.org/support/users/danrossiter/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/note-exec-is-not-accessible-ghostscript-will-not-function/#post-5913371)
 * Status: resolved