We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 078cf64 commit 5a4c418Copy full SHA for 5a4c418
install_one_local_instance/install_wordpress.sh
@@ -40,7 +40,7 @@ set_php7_sources() {
40
41
function install_dependencies {
42
apt-get -y install sudo mariadb-server mariadb-client \
43
- php7.0-mysql php7.0-fpm nginx nginx-extras php7.0 \
+ php7.0-mysql php7.0-fpm nginx nginx-extras php7.0 imagemagick \
44
&& install_WP_cli \
45
&& if ! ( grep -qs $sudoers_root /etc/sudoers ); then
46
echo $sudoers_root >> /etc/sudoers;
@@ -115,6 +115,7 @@ function install_WP {
115
|| iferror "Wordpress not installed";
116
117
chmod -R 775 $wp_path;
118
+ chmod -R www-data: $wp_path;
119
nginx_create_site
120
fi
121
}
0 commit comments