-
-
Save slavcodev/7073765 to your computer and use it in GitHub Desktop.
Revisions
-
mystix revised this gist
May 6, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -31,7 +31,7 @@ zend_extension = \"`brew --prefix php54-xdebug`/xdebug.so\" xdebug.remote_enable = 1 ; use port 9009 because php-fpm uses 9000 by default xdebug.remote_port = 9009 " >> /usr/local/etc/php/5.4/php.ini # set up mysql to run as user account -
mystix revised this gist
May 6, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ brew tap homebrew/dupes # install nginx + mysql + php 5.4 + php-fpm + apc + xdebug brew install nginx mysql brew install --with-fpm --with-mysql php54 brew install php54-apc php54-mcrypt php54-xdebug -
mystix revised this gist
May 6, 2013 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,20 +3,20 @@ # install homebrew's official php tap brew tap josegonzalez/homebrew-php # install homebrew-dupes (required to install zlib, php54's dependency) brew tap homebrew/dupes # install nginx + mysql + php 5.4 + php-fpm + apc + xdebug brew install nginx mysql brew install --with-suhosin --with-fpm --with-mysql php54 brew install php54-apc php54-mcrypt php54-xdebug # add apc + xdebug configs to php.ini: echo " [apc] extension = \"`brew --prefix php54-apc`/apc.so\" apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 64M @@ -27,7 +27,7 @@ apc.mmap_file_mask = /tmp/apc.XXXXXX apc.enable_cli = 1 [xdebug] zend_extension = \"`brew --prefix php54-xdebug`/xdebug.so\" xdebug.remote_enable = 1 ; use port 9009 because php-fpm uses 9000 by default xdebug.remote_port = 9009 @@ -45,8 +45,8 @@ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist # launch php-fpm on startup cp `brew --prefix php54`/homebrew-php.josegonzalez.php54.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php54.plist # launch nginx at startup as root (in order to listen on privileged port 80): -
mystix revised this gist
Nov 14, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ brew tap homebrew/dupes # install nginx + mysql + php 5.3 + php-fpm + apc + xdebug brew install nginx mysql brew install --with-suhosin --with-fpm --with-mysql php53 brew install php53-apc php53-xdebug -
mystix revised this gist
Nov 9, 2012 . No changes.There are no files selected for viewing
-
mystix revised this gist
Aug 6, 2012 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -3,6 +3,8 @@ # install homebrew's official php tap brew tap josegonzalez/homebrew-php # install homebrew-dupes (required to install zlib, php53's dependency) brew tap homebrew/dupes # install nginx + mysql + php 5.3 + php-fpm + apc + xdebug brew install nginx mysql -
mystix revised this gist
Jul 20, 2012 . No changes.There are no files selected for viewing
-
mystix revised this gist
Jul 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,7 @@ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # launch nginx at startup as root (in order to listen on privileged port 80): sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ sudo sed -i -e 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 5 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -53,5 +53,8 @@ sed -i -e 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist echo " POST-INSTALL PROCEDURE: ======================= 1) configure intellij / netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 " -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -32,7 +32,7 @@ xdebug.remote_port = 9009 " >> /usr/local/etc/php/5.3/php.ini # set up mysql to run as user account unset TMPDIR mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 12 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -10,9 +10,20 @@ brew install --without-apache --with-suhosin --with-fpm --with-mysql php53 brew install php53-apc php53-xdebug # add apc + xdebug configs to php.ini: echo " [apc] extension = \"`brew --prefix php53-apc`/apc.so\" apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 64M apc.ttl = 7200 apc.user_ttl = 7200 apc.num_files_hint = 1024 apc.mmap_file_mask = /tmp/apc.XXXXXX apc.enable_cli = 1 [xdebug] zend_extension = \"`brew --prefix php53-xdebug`/xdebug.so\" xdebug.remote_enable = 1 -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 20 additions and 17 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,43 +1,46 @@ #!/bin/bash # install homebrew's official php tap brew tap josegonzalez/homebrew-php # install nginx + mysql + php 5.3 + php-fpm + apc + xdebug brew install nginx mysql brew install --without-apache --with-suhosin --with-fpm --with-mysql php53 brew install php53-apc php53-xdebug # add xdebug config to php.ini: echo " [xdebug] zend_extension = \"`brew --prefix php53-xdebug`/xdebug.so\" xdebug.remote_enable = 1 ; use port 9009 because php-fpm uses 9000 by default xdebug.remote_port = 9009 " >> /usr/local/etc/php/5.3/php.ini # set up mysql db to run as user account unset TMPDIR mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp # launch mysql on startup cp `brew --prefix mysql`/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist # launch php-fpm on startup cp `brew --prefix php53`/homebrew-php.josegonzalez.php53.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # launch nginx at startup as root (in order to listen on privileged port 80): sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ sed -i -e 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # POST-INSTALL PROCEDURE # 1) configure intellij / netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 13 additions and 13 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -15,29 +15,29 @@ unset TMPDIR mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp # Launch mysql on startup cp `brew --prefix mysql`/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist # Add xdebug config to php.ini: [xdebug] zend_extension = "<xdebug install directory -- check using `brew --prefix php53-xdebug`>/xdebug.so" xdebug.remote_enable = 1 ; use port 9009 because php-fpm uses 9000 by default xdebug.remote_port = 9009 # Launch php-fpm on startup cp `brew --prefix php53`/homebrew-php.josegonzalez.php53.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # Launch nginx at startup as root (in order to listen on privileged port 80): sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ sed -i -e 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # POST-INSTALL PROCEDURE # 1) configure intellij / netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -25,6 +25,12 @@ cp `brew --prefix php53`/homebrew-php.josegonzalez.php53.plist ~/Library/LaunchA launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # Automatically run nginx as root (in order to listen on privileged port 80) at startup: sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ sed -i -e 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # POST-INSTALL PROCEDURE -- launch nginx on startup # 1) Add xdebug config to php.ini: # @@ -34,10 +40,4 @@ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # ; use port 9009 because php-fpm uses 9000 by default # xdebug.remote_port = 9009 # # 2) configure intellij / netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -37,7 +37,7 @@ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # 2) Automatically run nginx as root (in order to listen on privileged port 80) at startup: # # sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ # sed -i -e 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist # sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # # 3) configure intellij / netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # ; use port 9009 because php-fpm uses 9000 by default # xdebug.remote_port = 9009 # # 2) Automatically run nginx as root (in order to listen on privileged port 80) at startup: # # sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ # sed -i 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 7 additions and 4 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,10 @@ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # ; use port 9009 because php-fpm uses 9000 by default # xdebug.remote_port = 9009 # # 2) Set nginx to run automatically at startup as root (so port 80 can be used): # # sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ # sed -i 's/`whoami`/root/g' `brew --prefix nginx`/homebrew.mxcl.nginx.plist # sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # # 3) configure intellij / netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -6,8 +6,8 @@ brew install mysql nginx # install homebrew's official php tap brew tap josegonzalez/homebrew-php brew install --without-apache --with-suhosin --with-fpm --with-mysql php53 brew install php53-apc php53-xdebug # Set up mysql db to run as user account -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,7 +5,7 @@ brew install mysql nginx # install homebrew's official php tap brew tap josegonzalez/homebrew-php brew install --with-fpm --with-mysql --without-apache php53 brew install php53-xdebug -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -29,12 +29,12 @@ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # 1) Add xdebug config to php.ini: # # [xdebug] # zend_extension = "<xdebug install directory -- check using `brew --prefix php53-xdebug`>/xdebug.so" # xdebug.remote_enable = 1 # ; use port 9009 because php-fpm uses 9000 by default # xdebug.remote_port = 9009 # # 2) sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ # 3) change "userName" key in /Library/LaunchDaemons/homebrew.mxcl.nginx.plist to "root" # 4) sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # 5) configure intellij / netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 -
mystix revised this gist
Jul 20, 2012 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -16,12 +16,12 @@ mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" -- # launch mysql on startup cp `brew --prefix mysql`/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist # launch php-fpm on startup cp `brew --prefix php53`/homebrew-php.josegonzalez.php53.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist @@ -34,7 +34,7 @@ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # ; use port 9009 because php-fpm uses 9000 by default # xdebug.remote_port = 9009 # # 2) sudo cp `brew --prefix nginx`/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ # 3) remove "userName" key and value from /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # 4) sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # 5) configure netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009 -
mystix revised this gist
Jul 3, 2012 . No changes.There are no files selected for viewing
-
mystix revised this gist
Jul 3, 2012 . No changes.There are no files selected for viewing
-
mystix created this gist
Jul 3, 2012 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,40 @@ #!/bin/bash # install mysql & nginx brew install mysql nginx # install homebrew's official php tap brew tap josegonzalez/php brew install --with-fpm --with-mysql --without-apache php53 brew install php53-xdebug # Set up mysql db to run as user account unset TMPDIR mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp # launch mysql on startup cp /usr/local/Cellar/mysql/5.5.25/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist # launch php-fpm on startup cp /usr/local/Cellar/php53/5.3.13/homebrew-php.josegonzalez.php53.plist ~/Library/LaunchAgents/ launchctl load -w ~/Library/LaunchAgents/homebrew-php.josegonzalez.php53.plist # POST-INSTALL PROCEDURE -- launch nginx on startup # 1) Add xdebug config to php.ini: # # [xdebug] # zend_extension = "/usr/local/Cellar/php53-xdebug/2.2.0/xdebug.so" # xdebug.remote_enable = 1 # ; use port 9009 because php-fpm uses 9000 by default # xdebug.remote_port = 9009 # # 2) sudo cp /usr/local/Cellar/nginx/1.2.2/homebrew.mxcl.nginx.plist /Library/LaunchDaemons/ # 3) remove "userName" key and value from /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # 4) sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.nginx.plist # 5) configure netbeans / phpstorm / eclipse pdt to connect to xdebug on port 9009