Comments (5)
@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 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 runbrew 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.
@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.
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.
asdfsdf
from phpbrew.
Related Issues (20)
- I cannot compile with +fpm argument on Ubuntu 22.04 with 2.1.0 HOT 2
- No package 'libsystemd' found HOT 2
- Unable to install intl extension on ubuntu 22.0.4 with php 7.2 compiled from phpbrew HOT 16
- installing/enabling imagick leads to segmentation fault on Kubuntu 23.04 HOT 5
- Can't install on php 8.2.4 HOT 4
- Php 8.2 not supported? HOT 9
- PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array HOT 5
- When will PHP 8.2 be supported? HOT 6
- Centos8 install php 8 error
- Cannot switch to PHP v8.2.8 HOT 1
- PHP 8.1.11 (or 12) pgsql pg_config... not found … Cannot find libpq-fe.h HOT 2
- "patch for fix readline detection" is broken HOT 3
- Release workflow may have some problems
- Problems with 2.2.0 HOT 6
- Was 2.2.0 retagged? HOT 1
- bad pattern issue with phpbrew in macos HOT 1
- RuntimeException: Can't decode release json, invalid JSON string: [] HOT 2
- Failed to install php 7.4.33 on Mac HOT 7
- Abnormal termination (Segfaults) when running compiled php 8.2 as FPM process HOT 1
- phpbrew ext install redis: Error: Command failed
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 phpbrew.