Giter VIP home page Giter VIP logo

Comments (13)

wilmoore avatar wilmoore commented on June 13, 2024 1

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.

javian avatar javian commented on June 13, 2024

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.

philgruneich avatar philgruneich commented on June 13, 2024

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.

javian avatar javian commented on June 13, 2024

@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.

philgruneich avatar philgruneich commented on June 13, 2024

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.

emb03 avatar emb03 commented on June 13, 2024

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.

javian avatar javian commented on June 13, 2024

@emb03 can you paste in the error ?

from php-version.

emb03 avatar emb03 commented on June 13, 2024

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.

javian avatar javian commented on June 13, 2024

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.

emb03 avatar emb03 commented on June 13, 2024

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.

javian avatar javian commented on June 13, 2024

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.

philgruneich avatar philgruneich commented on June 13, 2024

@javian What is the new sed location?

from php-version.

philgruneich avatar philgruneich commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.