diff --git a/src/helper/class-ee-site.php b/src/helper/class-ee-site.php index 5dad9305..b34514a2 100644 --- a/src/helper/class-ee-site.php +++ b/src/helper/class-ee-site.php @@ -388,6 +388,8 @@ protected function update_php( $args, $assoc_args ) { $this->sendmail_path_update( false ); } + EE::exec( "chown -R www-data: $php_conf_dir" ); + } catch ( \Exception $e ) { EE::error( $e->getMessage() ); } diff --git a/templates/config/php-fpm/php56.zip b/templates/config/php-fpm/php56.zip index e69081c1..2373c564 100644 Binary files a/templates/config/php-fpm/php56.zip and b/templates/config/php-fpm/php56.zip differ diff --git a/templates/config/php-fpm/php74.zip b/templates/config/php-fpm/php74.zip index 43029eca..4f8512f7 100644 Binary files a/templates/config/php-fpm/php74.zip and b/templates/config/php-fpm/php74.zip differ