Skip to content

Instantly share code, notes, and snippets.

@huglester
Last active September 30, 2017 16:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huglester/83deb96f79195f8bcd92 to your computer and use it in GitHub Desktop.
Save huglester/83deb96f79195f8bcd92 to your computer and use it in GitHub Desktop.
ElCapitan PHP 5.6 installer (with OpenSSL support)
brew install mc wget httpie mcrypt icu4c
# install homebrew cURL with OpenSSL
brew install curl --with-libssh2 --with-openssl --with-nghttp2
# Install php with OpenSSL instead of SecureTransport
brew install php56 --with-fpm --with-homebrew-curl --with-homebrew-libxslt --with-homebrew-openssl --without-snmp
brew install php56-mcrypt
brew install php56-intl
# PHP 7
# Install php with OpenSSL instead of SecureTransport
brew install php70 --with-fpm --with-homebrew-curl --with-homebrew-libxslt --with-homebrew-openssl --without-snmp
brew install php70-mcrypt php70-intl
brew install php70-intl
brew install --build-from-source php70-imagick
cp /usr/local/opt/php70/homebrew.mxcl.php70.plist ~/Library/LaunchAgents/
launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php70.plist
# ffmpeg
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment