Compare commits
No commits in common. "ddf02ed9da4b6cc99a179d5193e15a0a947f452c" and "352e9085fb453476b7ea45227b448119e34a8fea" have entirely different histories.
ddf02ed9da
...
352e9085fb
@ -379,6 +379,24 @@ 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