Php with curl from homebrew
Version vom 12. Juni 2018, 18:48 Uhr von Laemmi (Diskussion | Beiträge) (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"…“)
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