We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c74bcc commit 4d5ce01Copy full SHA for 4d5ce01
bin/v-list-sys-php-config
@@ -62,7 +62,8 @@ csv_list() {
62
config_path=$(find /etc/php* -name php.ini)
63
config_count=$(echo "$config_path" |wc -l)
64
if [ "$config_count" -gt 1 ]; then
65
- if [ "$WEB_SYSTEM" = "nginx" ]; then
+ multiphp_versions=$(ls -d /etc/php/*/fpm/pool.d 2>/dev/null |wc -l)
66
+ if [ "$WEB_BACKEND" = 'php-fpm' ] || [ "$multiphp_versions" -gt 0 ] ; then
67
config_path=$(echo "$config_path"| grep fpm)
68
else
69
config_path=$(echo "$config_path"| grep apache)
0 commit comments