mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
24 lines
462 B
Nix
24 lines
462 B
Nix
{
|
|
lib,
|
|
php,
|
|
debug ? false,
|
|
}:
|
|
php.buildEnv {
|
|
extensions = import ./php-ext.nix {inherit lib php debug;};
|
|
extraConfig = ''
|
|
xdebug.mode=debug,trace,profile
|
|
xdebug.start_with_request=trigger
|
|
xdebug.discover_client_host=false
|
|
xdebug.client_host=hazehost
|
|
xdebug.log_level=0
|
|
xdebug.output_dir=/tmp/xdebug
|
|
|
|
memory_limit=512M
|
|
|
|
post_max_size 10G
|
|
upload_max_filesize 10G
|
|
|
|
apc.enable_cli=1
|
|
opcache.enable_cli=1
|
|
'';
|
|
}
|