From cff9ff3334e70fa7db3cd77a49850338167f984a Mon Sep 17 00:00:00 2001 From: Eddie Septr Date: Tue, 2 Jul 2019 00:26:47 +0700 Subject: [PATCH] Updates --- scripts/install_php.sh | 8 ++++---- scripts/ngxvhost.sh | 23 +++++++++++++---------- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/scripts/install_php.sh b/scripts/install_php.sh index 7ee3cc6..f15119b 100755 --- a/scripts/install_php.sh +++ b/scripts/install_php.sh @@ -375,7 +375,7 @@ cat >> /etc/php/${PHPv}/fpm/pool.d/lemper.conf < - Use username added from adduser/useradd. Do not use root user. + -c, --enable-fastcgi-cache + Enable PHP FastCGI cache module. -d, --domain-name Any valid domain name and/or sub domain name is allowed. i.e. example.com or sub.example.com - -w, --webroot - Web root is absolute path to the website root directory. - i.e. /home/username/Webs/example.test - -f, --framework Type of web framework and cms, i.e. default. Currently supported framework and cms: default (vanilla php), codeigniter, laravel, phalcon, wordpress, wordpress-ms. Another framework and cms will be added soon. + -h, --help + Print this message and exit. + + -p, --php-version + PHP version for selected framework. + -s, --clone-skeleton Clone default skeleton for selected framework. - -c, --enable-fastcgi-cache - Enable PHP FastCGI cache module. + -u, --username + Use username added from adduser/useradd. Do not use root user. - -h, --help - Print this message and exit. + -w, --webroot + Web root is absolute path to the website root directory. + i.e. /home/username/Webs/example.test Example: $APP_NAME -u username -d example.com -f default -w /home/username/Webs/example.dev