Title: What files needs exec()?
Last modified: September 1, 2016

---

# What files needs exec()?

 *  Resolved [Sören Müller](https://wordpress.org/support/users/pattyland/)
 * (@pattyland)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/what-files-needs-exec/)
 * Hi there!
 * My webhoster is running PHP as a module, but I can enable PHP via GCI for exec()
   for a directory. GCI is having limited resources, can enable it only for the 
   plugin folder of ewww optimizer?
 * Greets, pattyland
 * [https://wordpress.org/plugins/ewww-image-optimizer/](https://wordpress.org/plugins/ewww-image-optimizer/)

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

 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/what-files-needs-exec/#post-7507497)
 * It needs privs on the wp-content/ewww/ folder
 *  Thread Starter [Sören Müller](https://wordpress.org/support/users/pattyland/)
 * (@pattyland)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/what-files-needs-exec/#post-7507708)
 * There are no PHP files in this folder, so something like `AddHandler php56-cgi.
   php` will not work 🙁
 * Adding this in /wp-content/plugins/ewww-image-optimizer/.htaccess does not work
   either
 *  Plugin Author [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * (@nosilver4u)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/what-files-needs-exec/#post-7507711)
 * Certainly won’t, those are binary files. The only way I can think of is to allow
   exec() for the root of your WP install, and even that would surprise me. I’ve
   yet to see a server where you could override exec() being disabled if it was 
   disabled at the server level.
 * At any rate, you can still use the API if you like (better compression anyway):
   [https://ewww.io/plans/](https://ewww.io/plans/)

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

The topic ‘What files needs exec()?’ is closed to new replies.

 * ![](https://ps.w.org/ewww-image-optimizer/assets/icon-256x256.png?rev=1582276)
 * [EWWW Image Optimizer](https://wordpress.org/plugins/ewww-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ewww-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ewww-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ewww-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ewww-image-optimizer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Shane Bishop](https://wordpress.org/support/users/nosilver4u/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/what-files-needs-exec/#post-7507711)
 * Status: resolved