Update tools.func
This commit is contained in:
parent
0ce12acf26
commit
0334933d5c
@ -379,24 +379,6 @@ function setup_mysql() {
|
|||||||
# PHP_MAX_EXECUTION_TIME - (default: 300)
|
# PHP_MAX_EXECUTION_TIME - (default: 300)
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
# Installs PHP with selected modules and configures Apache/FPM support.
|
|
||||||
#
|
|
||||||
# Description:
|
|
||||||
# - Adds Sury PHP repo if needed
|
|
||||||
# - Installs default and user-defined modules
|
|
||||||
# - Patches php.ini for CLI, Apache, and FPM as needed
|
|
||||||
#
|
|
||||||
# Variables:
|
|
||||||
# PHP_VERSION - PHP version to install (default: 8.4)
|
|
||||||
# PHP_MODULE - Additional comma-separated modules
|
|
||||||
# PHP_APACHE - Set YES to enable PHP with Apache
|
|
||||||
# PHP_FPM - Set YES to enable PHP-FPM
|
|
||||||
# PHP_MEMORY_LIMIT - (default: 512M)
|
|
||||||
# PHP_UPLOAD_MAX_FILESIZE - (default: 128M)
|
|
||||||
# PHP_POST_MAX_SIZE - (default: 128M)
|
|
||||||
# PHP_MAX_EXECUTION_TIME - (default: 300)
|
|
||||||
# ------------------------------------------------------------------------------
|
|
||||||
function setup_php() {
|
function setup_php() {
|
||||||
local PHP_VERSION="${PHP_VERSION:-8.4}"
|
local PHP_VERSION="${PHP_VERSION:-8.4}"
|
||||||
local PHP_MODULE="${PHP_MODULE:-}"
|
local PHP_MODULE="${PHP_MODULE:-}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user