diff --git a/create_vhost.sh b/create_vhost.sh index e3ef8a3..5b605a1 100755 --- a/create_vhost.sh +++ b/create_vhost.sh @@ -3321,7 +3321,7 @@ else fi echononl "\tCreate \"phpinfo.php\" file.." -if $CREATE_PHPINFO_FILE ; then +if $CREATE_PHPINFO_FILE && [ "$_type" = "PHP-FPM" -o "$_type" = "FCGID" ]; then if [ ! -f "${_doc_root}/phpinfo.php" ]; then cat < ${_doc_root}/phpinfo.php