Last active
April 3, 2017 13:12
-
-
Save ilhnctn/44515bf9aa6de0a460e51e403ff8cbd1 to your computer and use it in GitHub Desktop.
OS X installition for PHP-Postresql-AMQP-Elasticsearch Development
This file contains 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
#Install brew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew update | |
# Change default shell to zsh :) | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
# To Install PHP 5.6 | |
#Setup the homebrew/dupes tap which has dependencies we need: | |
brew tap homebrew/dupes | |
#Setup the homebrew/versions tap which has dependencies we need: | |
brew tap homebrew/versions | |
#Then, run the following in your command-line: | |
brew tap homebrew/homebrew-php | |
brew install -v php56 --with-postgresql --with-homebrew-curl --with-fpm | |
# Diğer yardımcı araç ve eklentiler | |
brew install postgresql postgis php56-redis | |
# Some Settings About Postgresql | |
chown -R username:admin /usr/local/var/postgres/ | |
rm -Rf /usr/local/var/postgres/* | |
initdb -D /usr/local/var/postgres/ | |
# PHP Dependencies | |
brew install php56-apcu php56-solr php56-tidy php56-http php56-propro | |
brew install php56-memcached php56-mcrypt php56-imagick php56-pdo-pgsql | |
brew install redis && ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment