Viewing 3 replies - 1 through 3 (of 3 total)
  • I found a typo on Centos. ini_get(‘disable_functions’) returns a csv list without spaces. So line 83 in cw-image-optimizer.php works when I implode without the extra space in the delimiter field. You may want to add some kind of array check.

    $disabled = explode(',', ini_get('disable_functions'));

    @bohemiandiesel, if you have system access, check your php.ini for

    disable_functions = exec,blah,blah,blah

    Then you’d have to remove the ‘exec’ and restart apache.

    If you are on a shared host, you should check with your hosting provider.

    To: Plugin Author, have you considered using shell_exec() on systems that disable exec?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘exec()’ is closed to new replies.