added php worpress security

This commit is contained in:
naturallaw77 2024-12-22 23:21:08 -08:00
parent 35e5e6dfc5
commit 6e19eee8bb

View File

@ -8,6 +8,7 @@ let
custom-php = pkgs.php83.buildEnv {
extensions = { enabled, all }: enabled ++ (with all; [ bz2 apcu redis imagick memcached ]);
extraConfig = ''
display_errors = On
display_startup_errors = On
max_execution_time = 10000
@ -24,6 +25,8 @@ let
redis.session.locking_enabled=1
redis.session.lock_retries=-1
redis.session.lock_wait_time=10000
auto_prepend_file='/var/lib/www/wordpress/aios-bootstrap.php'
'';
};
in