mirror of
https://github.com/luizeof/dockerpress.git
synced 2026-06-19 07:37:10 +00:00
opcache
This commit is contained in:
@@ -18,6 +18,8 @@ function update_wp_config() {
|
||||
wp config set DB_HOST "$WORDPRESS_DB_HOST:$WORDPRESS_DB_PORT" --add --type=constant
|
||||
wp config set DB_PORT $WORDPRESS_DB_PORT --raw --add --type=constant
|
||||
wp config set WP_DEBUG $WP_DEBUG --raw --add --type=constant
|
||||
wp config set WP_MEMORY_LIMIT '256M' --add --type=constant
|
||||
wp config set WP_MAX_MEMORY_LIMIT '256M' --add --type=constant
|
||||
}
|
||||
|
||||
function generate_litespeed_password() {
|
||||
|
||||
@@ -139,7 +139,8 @@ extprocessor PHP-7.4 {
|
||||
address uds:///tmp/lshttpd/lsphp74.sock
|
||||
maxConns 25
|
||||
env PHP_LSAPI_CHILDREN=25
|
||||
env LSAPI_AVOID_FORK=200M
|
||||
#env LSAPI_AVOID_FORK=200M
|
||||
env LSAPI_AVOID_FORK=1
|
||||
initTimeout 60
|
||||
retryTimeout 0
|
||||
persistConn 1
|
||||
|
||||
Reference in New Issue
Block a user