-
Notifications
You must be signed in to change notification settings - Fork 139
Fix PHPStorm using absolute paths #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cord
commented
Aug 14, 2025
on macOs whereis php
returns /Users/cord/Library/Application Support/Herd/bin//php
as absolute path to php.
Looks like the blank in the path is causing issues?
on macOs
whereis php
returns/Users/cord/Library/Application Support/Herd/bin//php
as absolute path to php.Looks like the blank in the path is causing issues?
Ah yes, PHPStorm also can't handle spaces even if you escape them 🤔 Good point
@ashleyhindle, please review #83 before this is merged as this will break how that detects and switches between php
and sail
as the primary command---just something to think about as you architect this
refactor: streamline path resolution and simplify the MCP client interface
Uh oh!
There was an error while loading. Please reload this page.
PHPStorm is the only editor that requires absolute paths in its config. Right now we don't pass an absolute path to 'php' so people are having issues using Boost in PHPStorm.
Caveats
Absolute paths make it impossible to commit the resulting file for use within a team. We might need to update docs to say "Add to .gitignore and each dev manually adds until it's improved, sorry!" 😬