Title: EXEC is Disabled
Last modified: August 22, 2016

---

# EXEC is Disabled

 *  Resolved [rhyshudson](https://wordpress.org/support/users/rhyshudson/)
 * (@rhyshudson)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/)
 * Hello,
 * I have installed your plugin and installed FFMPEG, changed the path in the plugin
   several times but each time the plugin says
 * `EXEC is disabled in PHP settings. You can embed existing videos and make thumbnails
   with compatible browsers, but video encoding will not work. Contact your System
   Administrator to find out if you can enable EXEC.`
 * Even though I have tested it and PHP definitely has EXEC enabled. Any ideas here?
 * Thanks in advanced and great plugin!
 * [https://wordpress.org/plugins/video-embed-thumbnail-generator/](https://wordpress.org/plugins/video-embed-thumbnail-generator/)

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223557)
 * How exactly did you check that exec was enabled? There are three conditions in
   which you would get that message. If you are running PHP in safe mode, if exec
   is in suhosin.executor.func.blacklist or if exec is in disable_functions in php.
   ini. Are you able to verify that all three of those things are false? Are you
   able to run exec in other PHP scripts?
 *  Thread Starter [rhyshudson](https://wordpress.org/support/users/rhyshudson/)
 * (@rhyshudson)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223645)
 * Firstly, thanks for such a speedy response.
 * I created the following PHP Script:
 *     ```
       <?php
       if(function_exists('exec')) {
           echo "exec is enabled";
       }
           phpinfo();
       ?>
       ```
   
 * It shows exec is enabled. You can see at [http://socialmediachampionship.org/phpinfo.php](http://socialmediachampionship.org/phpinfo.php).
 * I have also checked the php.ini like in another thread you suggested and nothing
   is there. Any thoughts? Where is the suhosin.executor.func.blacklist?
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223660)
 * If you search for suhosin.executor.func.blacklist in that phpinfo output you’ll
   see that exec and shell_exec are blacklisted. I don’t know how your particular
   server is configured, but it’s most likely in your php.ini.
 *  Thread Starter [rhyshudson](https://wordpress.org/support/users/rhyshudson/)
 * (@rhyshudson)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223661)
 * Oh I see! Where can I edit the suhosin.executor.func.blacklist?
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223662)
 * I don’t know how your particular server is configured, but it’s most likely in
   your php.ini.
 *  Thread Starter [rhyshudson](https://wordpress.org/support/users/rhyshudson/)
 * (@rhyshudson)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223666)
 * YOU BOSS! I saw a setting in my web control panel (ZPANEL) to disable suhosin.
   I disabled it and it works! Thank you so much for the superb help! 5 stars from
   me and a donation! Keep it up!
 *  Plugin Author [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * (@kylegilman)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223669)
 * Glad I could help. I don’t know much about suhosin, but depending on your security
   concerns you might want to figure out how to keep suhosin enabled but just edit
   the blacklist to remove exec and shell_exec. It provides a lot of other PHP security
   services that might be useful.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘EXEC is Disabled’ is closed to new replies.

 * ![](https://ps.w.org/video-embed-thumbnail-generator/assets/icon.svg?rev=2965979)
 * [Videopack](https://wordpress.org/plugins/video-embed-thumbnail-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/video-embed-thumbnail-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/video-embed-thumbnail-generator/reviews/)

## Tags

 * [exec](https://wordpress.org/support/topic-tag/exec/)
 * [ffmpeg](https://wordpress.org/support/topic-tag/ffmpeg/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 7 replies
 * 2 participants
 * Last reply from: [Kyle Gilman](https://wordpress.org/support/users/kylegilman/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/exec-is-disabled/#post-5223669)
 * Status: resolved