Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'docker-common/lamp/010lamp')
-rwxr-xr-xdocker-common/lamp/010lamp6
1 files changed, 4 insertions, 2 deletions
diff --git a/docker-common/lamp/010lamp b/docker-common/lamp/010lamp
index 6948af92..b5f384c4 100755
--- a/docker-common/lamp/010lamp
+++ b/docker-common/lamp/010lamp
@@ -1,5 +1,7 @@
#!/bin/bash
+PHPVER=7.2
+
source /usr/local/etc/library.sh
set -e
@@ -8,7 +10,7 @@ set -e
echo "Stopping apache"
apachectl graceful-stop
echo "Stopping PHP-fpm"
- killall php-fpm7.0
+ killall php-fpm${PHPVER}
echo "Stopping mariaDB"
mysqladmin -u root shutdown
echo "LAMP cleanup complete"
@@ -19,7 +21,7 @@ set -e
persistent_cfg /etc/apache2
echo "Starting PHP-fpm"
-php-fpm7.0 &
+php-fpm${PHPVER}
echo "Starting Apache"
/usr/sbin/apache2ctl start