mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 16:50:09 +01:00
PHP configs no longer support `#` for comments. Must use semicolons `;`. Otherwise PHP may not start, and may show a confusing error in logs: `value is NULL for a ZEND_INI_PARSER_ENTRY`
27 lines
605 B
Plaintext
27 lines
605 B
Plaintext
; FPM pool configuration for Valet
|
|
|
|
[valet]
|
|
user = VALET_USER
|
|
group = staff
|
|
listen = VALET_HOME_PATH/valet.sock
|
|
listen.owner = VALET_USER
|
|
listen.group = staff
|
|
listen.mode = 0777
|
|
|
|
;; When uncommented, the following values will take precedence over settings declared elsewhere
|
|
;php_admin_value[memory_limit] = 128M
|
|
;php_admin_value[upload_max_filesize] = 128M
|
|
;php_admin_value[post_max_size] = 128M
|
|
|
|
;php_admin_value[error_log] = VALET_HOME_PATH/Log/fpm-php.www.log
|
|
;php_admin_flag[log_errors] = on
|
|
|
|
|
|
|
|
pm = dynamic
|
|
pm.max_children = 5
|
|
pm.start_servers = 2
|
|
pm.min_spare_servers = 1
|
|
pm.max_spare_servers = 3
|
|
|