Skip to content

[Bug]: php: No such file or directory #579

@joshmanders

Description

@joshmanders

Extension Version

1.5.1

PHP Binary

Other

Operating System

macOS

What happened?

If you do anything that changes the location of the php binary, such as update homebrew, you have to restart extention host or get a barrage of unknown notifications (related: #484) for everything you do until you go in and see why the generic notification.

/bin/sh: /opt/homebrew/Cellar/php/8.5.1_2/bin/php: No such file or directory

2026-02-05 14:56:17.641 [info] Stopped
2026-02-05 14:56:19.453 [info] Activating Laravel Extension...
2026-02-05 14:56:19.453 [info] Started
2026-02-05 14:56:19.453 [info] Checking local PHP installation: php -r "echo PHP_BINARY;"
2026-02-05 14:56:19.453 [info] Using local PHP installation: /opt/homebrew/Cellar/php/8.5.2/bin/php

First line is before I restarted extension host.

Mimimal Code Sample

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions