1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 01:00:09 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Chris Brown
ce0999f8cd Point PHP-FPM error_log to user directory
Old: `/usr/local/var/log/php-fpm.log`
New: `~/.config/valet/Log/php-fpm.log`

(We already put `~/.config/valet/Log/nginx-error.log` there)

This avoids ARM Mac differences in directory paths.
2020-11-23 09:21:55 -05:00
Chris Brown
30e28614f4 Increase default PHP memory_limit to 512M
PHP's default is 128M, but it's becoming common practice to set the value to 512M in dev and production
Plus, currently homestead sets it to 512M as well.
2020-03-02 11:28:54 -05:00
Chris Brown
d39ac0c1a8 Comments must only use semicolons, not hash symbols
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`
2020-01-04 13:09:17 -05:00
Chris Brown
b5c8257b86 Comment out memory limits so other configs take precedence 2019-12-23 17:34:54 -05:00
Chris Brown
139a916013 Move PHP-FPM config to separate valet-specific file
This allows the valet configuration to stand separately from the default PHP config.
This benefits troubleshooting, makes customization of FPM workers and other settings easer
and allows for easier uninstallation.

Also renames any previously-existing `www.conf` pool config so it doesn't conflict with Valet nor run unnecessary additional processes.
2019-12-05 15:01:11 -05:00