Php with curl from homebrew: Unterschied zwischen den Versionen

Aus Laemmi´s Wiki
Zur Navigation springen Zur Suche springen
Die Seite wurde neu angelegt: „update SSL: brew reinstall curl --with-libssh2 --with-openssl then edit php: brew edit php line 20, make it always depend on curl: depends_on "curl"…“
 
(kein Unterschied)

Aktuelle Version vom 22. September 2021, 19:25 Uhr

update SSL:

brew reinstall curl --with-libssh2 --with-openssl

then edit php:

brew edit php

line 20, make it always depend on curl:

depends_on "curl"

scroll down to line ~145

args << "--with-curl=#{Formula["curl"].opt_prefix}"

make sure we are always using the homebrew curl

now build form source:

brew reinstall --build-from-source php