Last active
September 30, 2017 16:46
-
-
Save huglester/83deb96f79195f8bcd92 to your computer and use it in GitHub Desktop.
ElCapitan PHP 5.6 installer (with OpenSSL support)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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