Skip to content

Commit 5a4c418

Browse files
committed
fix
1 parent 078cf64 commit 5a4c418

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install_one_local_instance/install_wordpress.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ set_php7_sources() {
4040

4141
function install_dependencies {
4242
apt-get -y install sudo mariadb-server mariadb-client \
43-
php7.0-mysql php7.0-fpm nginx nginx-extras php7.0 \
43+
php7.0-mysql php7.0-fpm nginx nginx-extras php7.0 imagemagick \
4444
&& install_WP_cli \
4545
&& if ! ( grep -qs $sudoers_root /etc/sudoers ); then
4646
echo $sudoers_root >> /etc/sudoers;
@@ -115,6 +115,7 @@ function install_WP {
115115
|| iferror "Wordpress not installed";
116116

117117
chmod -R 775 $wp_path;
118+
chmod -R www-data: $wp_path;
118119
nginx_create_site
119120
fi
120121
}

0 commit comments

Comments
 (0)