diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 465c606..5c18954 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -11,6 +11,5 @@ pm.max_children = 5 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 -chroot = /var/www/movim -;chdir = /var/www/movim +chdir = /var/www/movim php_admin_value[open_basedir] = none diff --git a/scripts/install b/scripts/install index 641a7dc..da37ebd 100644 --- a/scripts/install +++ b/scripts/install @@ -58,7 +58,7 @@ sudo cp $final_path/config/db.example.inc.php $final_path/config/db.inc.php # Create movim system user and set permissions sudo useradd -d /var/www/movim -s /bin/sh movim -sudo chown -R movim: $final_path +sudo chown -R movim:www-data $final_path sudo chmod -R 750 $final_path # Install PHP dependencies