mirror of
https://github.com/teddysun/lamp.git
synced 2026-04-07 05:08:38 +00:00
Update comments
Add phpinfo.php to default web root directory Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
4
lamp.sh
4
lamp.sh
@@ -700,6 +700,9 @@ install_apache() {
|
||||
if [[ -f "${SCRIPT_DIR}/conf/lamp.png" ]]; then
|
||||
_error_detect "cp -f ${SCRIPT_DIR}/conf/lamp.png /data/www/default/"
|
||||
fi
|
||||
if [[ -f "${SCRIPT_DIR}/conf/phpinfo.php" ]]; then
|
||||
_error_detect "cp -f ${SCRIPT_DIR}/conf/phpinfo.php /data/www/default/"
|
||||
fi
|
||||
|
||||
_info "Apache configuration completed"
|
||||
}
|
||||
@@ -949,6 +952,7 @@ main() {
|
||||
netstat -nxtulpe 2>/dev/null || ss -tunlp
|
||||
echo
|
||||
_info "LAMP (Linux + Apache + MariaDB + PHP) installation completed"
|
||||
_info "Intro: $(_green "https://github.com/teddysun/lamp")"
|
||||
_info "Log file: ${LOG_FILE}"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user