GithubHelp home page GithubHelp logo

Comments (5)

theofidry avatar theofidry commented on July 21, 2024 1

@PHPJourney PHP 8.2 requires OpenSSL 3.x if I remember right. So +openssl=/usr/local/Cellar/[email protected]/1.1.1t/ is wrong (and ideally even before the form $(brew --prefix [email protected]) should be preferred).

So you need to make sure you have openssl@3 installed (brew list | grep openssl) and if missing run brew install openssl@3.

Then for your variant you can use:

+openssl="$(brew --prefix openssl@3)"

from phpbrew.

PHPJourney avatar PHPJourney commented on July 21, 2024

@PHPJourney PHP 8.2 requires OpenSSL 3.x if I remember right. So +openssl=/usr/local/Cellar/[email protected]/1.1.1t/ is wrong (and ideally even before the form $(brew --prefix [email protected]) should be preferred).

So you need to make sure you have openssl@3 installed (brew list | grep openssl) and if missing run brew install openssl@3.

Then for your variant you can use:

+openssl="$(brew --prefix openssl@3)"

@theofidry
I use [email protected] The version is also installed for php7.3.23. There are still such errors. openssl@3 It seems to be automatically supplemented when installing the software

from phpbrew.

peter279k avatar peter279k commented on July 21, 2024

@PHPJourney, could you help me to use the PHPBrew 2.1.0 version to run above commands?

I think the issue will be resolved in the PHPBrew 2.x version now.

from phpbrew.

peter279k avatar peter279k commented on July 21, 2024

I run the following phpbrew command to compile PHP 8.2.5 with the PHPBrew 2.1.0 and it's worked successfully:

$ sw_vers
ProductName:	macOS
ProductVersion:	11.6
BuildVersion:	20G165
$ phpbrew -d install 8.2 \
     +default \
     +openssl=$(brew --prefix openssl@3) -- \
     --with-zlib-dir=$(brew --prefix zlib) \
     --with-readline=$(brew --prefix  readline) \
     --with-libedit=$(brew --prefix libedit)
......
* To configure your installed PHP further, you can edit the config file(s) at
    /Users/cloudxmac/.phpbrew/php/php-8.2.5/etc/cli/php.ini

To use the newly built PHP, try the line(s) below:

    $ phpbrew use php-8.2.5

Or you can use switch command to switch your default php to php-8.2.5:

    $ phpbrew switch php-8.2.5

from phpbrew.

cxyguopong avatar cxyguopong commented on July 21, 2024

asdfsdf

from phpbrew.

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.