-
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Description
I am using Laravel Herd on macOS. The Symfony CLI correctly detects Herd's PHP CLI binary (e.g., php84), but it fails to detect the corresponding PHP-FPM binary.
It appears the current binary scanner does not recognize this naming pattern, causing symfony server:start to fall back to the PHP CLI server (causing various problems in my case).
Steps to Reproduce
- Install Laravel Herd
- Run
symfony local:php:list
Actual Result
The FPM column is empty for the Herd installation, looking something like:
+---------+-----------+---------+---------+
| Version | PHP | PHP | Server |
| | CLI | FPM | |
+---------+-----------+---------+---------+
| 8.4.15 | bin/php84 | | PHP CLI |
+---------+-----------+---------+---------+
Workaround
Creating a symlink that matches standard naming conventions fixes the detection immediately:
ln -s "/Users/user/Library/Application Support/Herd/bin/php84-fpm" "/Users/user/Library/Application Support/Herd/bin/php-fpm"
Suggestion
Please consider updating the binary discovery logic to include the phpXY-fpm pattern to support Laravel Herd natively.
ausi
Metadata
Metadata
Assignees
Labels
No labels