Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion plugins/php.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@
"PHPFPM_ERROR_LOG_FILE": "{{ .Virtenv }}/php-fpm.log",
"PHPFPM_PID_FILE": "{{ .Virtenv }}/php-fpm.pid",
"PHPFPM_PORT": "8082",
"PHPRC": "{{ .DevboxDir }}"
"PHPRC": "{{ .DevboxDir }}",
"PHPFPM_SESSIONDIR": "{{ .Virtenv }}/sessions"
},
"create_files": {
"{{ .DevboxDir }}/php-fpm.conf": "php/php-fpm.conf",
"{{ .DevboxDir }}/php.ini": "php/php.ini",
"{{ .Virtenv }}/sessions": "",
"{{ .Virtenv }}/process-compose.yaml": "php/process-compose.yaml",
"{{ .Virtenv }}/flake/flake.nix": "php/flake.nix"
}
Expand Down
3 changes: 3 additions & 0 deletions plugins/php/php.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[php]

; Sessions are persisted to .devbox/virtenv/php/sessions/ by default
session.save_path = ${PHPFPM_SESSIONDIR}

; Put your php.ini directives here. For the latest default php.ini file, see https://github.com/php/php-src/blob/master/php.ini-production

; memory_limit = 128M
Expand Down
Loading