Skip to content
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

Use system php binary instead of hard-coded /usr/bin/php #10

Open
jessehs opened this issue Oct 29, 2014 · 1 comment
Open

Use system php binary instead of hard-coded /usr/bin/php #10

jessehs opened this issue Oct 29, 2014 · 1 comment

Comments

@jessehs
Copy link

jessehs commented Oct 29, 2014

I installed PHP-5.5 with homebrew, and enabled opcache. When running the deserialize php command, I get an opcache related error, because the binary being executed is /usr/bin/php instead of /usr/local/bin/php.

See the following line: https://github.com/sequelpro/Bundles/blob/master/contributed/Deserialize%20php.spBundle/command.plist#L10

Can this be changed to use an environment variable, say a bash script to run the which php command?

Changing the line referenced to /usr/local/bin/php seems to fix the problem.

@cviebrock
Copy link

#!/usr/bin/env php is the way this should probably be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants