Comments (13)
Thanks @javian. In that case, I'll close this given that https://github.com/Homebrew/homebrew-php/issues/3352 has been closed.
from php-version.
This error occurred after an update in brew where the php bottles had not been generated. This issue should be solved now. Also reported here https://github.com/Homebrew/homebrew-php/issues/3352
from php-version.
I'm still getting it, even 17 days later. Is there any specific step I should take? Because I update Homebrew on a daily basis. I was forced to apply the solution from this issue https://github.com/Homebrew/homebrew-php/issues/3352#issuecomment-234489054, yet I suppose it should be more straightforward, correct?
from php-version.
@philgruneich strange, the latest version of php56 is 5.6.25 - not .23 which you are using so something must be wrong on your system.
from php-version.
Your comment was very helpful, @javian, I did a brew upgrade php56
and got the latest version. It is strange that my daily routine of brew update
didn't get the job done before, but that's a topic for another issue. Thanks.
from php-version.
I am getting this error as well and have the latest version of php (5.6.25) installed. I ran brew update
and it was already up-to-date
. Any other suggestions to get rid of this error?
from php-version.
@emb03 can you paste in the error ?
from php-version.
This fixed it. https://github.com/Homebrew/homebrew-php/issues/3352
I am not getting the error anymore. Apparently, it's a path issue.
from php-version.
It works around the issue but your problem is that your homebrew is not updating itself since this specific issue was fixed way back. There's a different issue that's pending that involves sed but this issue with an updated homebrew should not happen.
from php-version.
I updated homebrew and it happened again:
Updated Homebrew from 985e772 to a148aa3.
Updated 1 tap (homebrew/core).
==> Updated Formulae
appscale-tools consul elvish ios-deploy logentries pdnsrec scour artifactory dockutil fontconfig libstrophe minio ponyc serf
$ php-version
5.6.11
5.6.14
5.6.25
$ php-version 5.6.11
/usr/local/Cellar/php56/5.6.11_2/bin/php-config: line 43: /usr/local/Library/ENV/4.3/sed: No such file or directory
from php-version.
That makes more sense thank you and explains what's going on. Since older versions aren't supported by homebrew the bottles would be compiled against the old codebase and the sed shim was moved a few months ago to a new location which means that an older version no longer finds sed in homebrew. We can't do anything to change that so you would have to manually edit the files with the incorrect paths. If you test with the 5.6.25 version you should see that it works.
from php-version.
@javian What is the new sed
location?
from php-version.
I unapologetically changed the sed definition in php-config to the default sed from which sed
and it works.
from php-version.
Related Issues (20)
- Support for release-candidates installed by Homebrew HOT 2
- brew install doesn't create symlink HOT 3
- init script is not finding my brew-installed php versions. all installed today. HOT 15
- Sorry, but php-version was unable to find version '5' under ''. HOT 14
- No symlink for /usr/local/bin/php HOT 1
- Re-write in a language that can produce a standalone binary
- Supports .phpversion HOT 4
- [Feature] Switch PHP versions when entering in a project folder HOT 1
- I change the php version but the php-fpm does not change
- Add changelog HOT 1
- doesn't switch between version 5.3.29 and 5.6.33
- brew versions not picked up anymore HOT 4
- php-version has been removed from homebrew HOT 7
- Doesn't switch versions on ubuntu HOT 4
- Can not work HOT 3
- homebrew/php was deprecated HOT 4
- 无法安装了 HOT 1
- Readme is misleading about windows support HOT 2
- Does not work with fish 3.1.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-version.