I have the same warning message in Drupal report since I use php 7 witch is :
PHP shell_exec is non-functional. Check php.ini for safemode or disable_functions.
I discovered this message is generated by https://api.briarmoon.ca/api/advagg/advagg_ext_minify%21advagg_ext_minify.install/function/advagg_ext_minify_requirements/8.x-2.x
I take a look to my php.ini, safemode is disabled and there are no disabled functions in section disable_functions of php.ini
Step to reproduce :
Use NGINX with php-7-fpm on a FreeBSD system
Install Drupal 8
Install Advanced CSS/JS Aggregation module
Install all advagg sub-modules mainly AdvAgg External Minification
Go to the administration report page and look by yourself the message.
Thanks for any help.
Comment | File | Size | Author |
---|---|---|---|
#6 | 2859464-shell_exec-6.patch | 1.73 KB | NickDickinsonWilde |
| |||
php-shell_exec-drupal8.png | 8.41 KB | Yannick WEBER |
Comments
Comment #2
NickDickinsonWildehmm I'm *thinking* that might be related to: http://stackoverflow.com/questions/29272233/php-fpm-does-not-work-exec-s...
but definitely not sure; could you confirm if that is the issue or not? and I'll do some more investigating as well.
Comment #3
Yannick WEBER CreditAttribution: Yannick WEBER commentedNone of the 2 scripts myphp.info nor info.php are working in web browsers.
But the both of them are working in a shell via php myphp.info and php info.php commands
May that help you ?
Comment #4
NickDickinsonWildemore information is almost always helpful, thanks.
Depending on where my research leads me, might need to spin up a FreeBSD system for testing. If that is the case, what versions of Nginx & FreeBSD are you using?
thanks
Comment #5
Yannick WEBER CreditAttribution: Yannick WEBER commentedOn this testing system we use FreeBSD 11 with the latest php7.0.16 ports and the latest nginx 1.0.3 ports
Comment #6
NickDickinsonWildeMy check for availability of the shell_exec command wasn't good on FreeBSD systems. Specifically was testing with a command that doesn't exist in FreeBSD.
Patch attached that should make it work, can you apply and test?
Comment #7
Yannick WEBER CreditAttribution: Yannick WEBER commentedI confirm, your patch seems to be working.
Thanks
Comment #8
NickDickinsonWildegreat, thanks for the report and testing :D