Skip to content

[Bug]: macOS fresh Herd installation, no php binary installed in ~/Library/Application Support/Herd/bin/ #1208

@stevenmaguire

Description

@stevenmaguire

Platform

macOS

Operating system version

macOS Ventura 13.6.7

System architecture

ARM64 (M1, M2, etc)

Herd Version

1.13.0 (Build 37)

PHP Version

No response

Bug description

I've just done a fresh install of Herd on macOS and despite the installation appearing to complete successfully, the ~/Library/Application Support/Herd/bin/ directory does not contain a php binary and therefore none of the PHP-based features are working. I have used the UI to install PHP 8.2, 8.3, and 8.4 and all of those binaries appear in the expected app support bin directory - just no php binary.

The application was installed by downloading the DMG from the Herd website, unpacking, dragging to Applications shortcut.

There are no other instances of Herd installed on the machine nor are there any other instances of PHP installed on the machine.

All shells reloaded and profiles re-sourced. Profiles do include auto-added path prepends as expected - including the annoying duplicate inclusions.

After installation, this is what happens when attempting to check the versions, an expectation documented on the installation guide:

steven at minime in ~/.files on main*
$ herd --version
/Users/steven/Library/Application Support/Herd/bin/herd: line 13: php: command not found
Error finding executable PHP. Quitting for safety.
Provided output from find-usable-php.php:

steven at minime in ~/.files on main*
$ php --version
-bash: php: command not found
steven at minime in ~/.files on main*
$ laravel --version
env: php: No such file or directory
steven at minime in ~/.files on main*
$ composer --version
env: php: No such file or directory
CleanShot 2024-12-19 at 12 41 37@2x CleanShot 2024-12-19 at 12 42 00@2x

Steps to reproduce

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions