Skip to content

Commit 61c9ee1

Browse files
committed
Edit max_execution_time sed command to respect EOL
30 will change to 60 but 300 not to 600
1 parent cadc18a commit 61c9ee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/upgrade/versions/1.6.8.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ for version in $($HESTIA/bin/v-list-sys-php plain); do
3535
# Increase max upload and max post size
3636
sed -i "s/upload_max_filesize = 2M/upload_max_filesize = 100M/g" /etc/php/$version/fpm/php.ini
3737
sed -i "s/post_max_size = 8M/post_max_size = 100M/g" /etc/php/$version/fpm/php.ini
38-
sed -i "s/max_execution_time = 30/max_execution_time = 60/g" /etc/php/$version/fpm/php.ini
38+
sed -i "s/max_execution_time = 30$/max_execution_time = 60/g" /etc/php/$version/fpm/php.ini
3939
done

0 commit comments

Comments
 (0)