Created
January 1, 2017 20:04
-
-
Save jaizquierdogalan/ec5427a25bdb0d9c85e3037897b7f99b to your computer and use it in GitHub Desktop.
Revisions
-
tam5 revised this gist
Feb 16, 2016 . 1 changed file with 0 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 @@ -44,8 +44,6 @@ --with-mcrypt=`brew --prefix mcrypt` $ make -j `sysctl -n hw.logicalcpu_max` ##### 3. Optional: Deploy OS X package (First finish step 2) $ env INSTALL_ROOT=$PWD/php7-pkg make install -
tam5 revised this gist
Feb 16, 2016 . 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 @@ -46,7 +46,7 @@ ---- ##### 3. Optional: Deploy OS X package (First finish step 2) $ env INSTALL_ROOT=$PWD/php7-pkg make install $ pkgbuild \ @@ -56,13 +56,13 @@ --ownership recommended \ PHP-7.1.0.pkg ##### 4. Install PHP 7.1 to `/usr/local/opt/php7` $ make install ---- ##### 5. TODO 1. export `php.ini-{development,production}`, `php-fpm.ini`, `extensions ini`, `php.ini`, `fpm srcipt launchd` in /usr/local/etc/php7/ -
tam5 revised this gist
Feb 16, 2016 . 1 changed file with 1 addition 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 @@ -1,4 +1,5 @@ ##### 1. Install dependencies for PHP 7.1 $ brew update $ brew tap homebrew/dupes $ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt -
tam5 revised this gist
Feb 16, 2016 . 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 @@ -77,4 +77,6 @@ $ rm -rvf "/usr/local/opt/php7" $ rm -rvf "/usr/local/etc/php7" ----  -
tam5 revised this gist
Feb 16, 2016 . 1 changed file with 15 additions and 14 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,10 +1,8 @@ ##### 1. Install dependencies for PHP 7.1 $ brew tap homebrew/dupes $ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt ##### 2. Configure PHP 7.1 $ git clone --depth=1 https://github.com/php/php-src.git $ cd php-src @@ -47,27 +45,22 @@ ---- #### Optional: Deploy OS X package (First finish step 2) $ env INSTALL_ROOT=$PWD/php7-pkg make install $ pkgbuild \ --root php7-pkg \ --identifier org.denji.php7 \ --version 7.1.0 \ --ownership recommended \ PHP-7.1.0.pkg #### Install PHP 7.1 to `/usr/local/opt/php7` $ make install ---- #### TODO 1. export `php.ini-{development,production}`, `php-fpm.ini`, `extensions ini`, `php.ini`, `fpm srcipt launchd` in /usr/local/etc/php7/ @@ -76,4 +69,12 @@ * [Packaging a daemon for OS X](http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html) * [PHP: mysqlnd saves 40% memory, finally](http://blog.ulf-wendel.de/2007/php-mysqlnd-saves-40-memory-finally-new-tuning-options/) ---- #### To uninstall PHP 7.1 $ rm -rvf "/usr/local/opt/php7" $ rm -rvf "/usr/local/etc/php7"  -
tam5 revised this gist
Feb 16, 2016 . 1 changed file with 5 additions and 6 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,7 +1,7 @@ #### Quick install PHP 7.0: ##### 1. Install dependencies for PHP 7.0 $ brew tap homebrew/dupes $ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt ##### 2. Configure PHP 7.0 @@ -23,6 +23,7 @@ --enable-sysvsem \ --enable-sysvshm \ --enable-wddx \ --enable-maintainer-zts \ --with-curl \ --with-iconv \ --with-gmp \ @@ -43,11 +44,10 @@ --with-bz2 \ --with-mcrypt=`brew --prefix mcrypt` $ make -j `sysctl -n hw.logicalcpu_max` ---- #### Optional. Deploy OSX package (First finish step 2) $ env INSTALL_ROOT=$PWD/php7-pkg make install $ pkgbuild \ @@ -56,15 +56,14 @@ --version 7.0.0 \ --ownership recommended \ PHP-7.0.0.pkg #### Install PHP 7.0 to `/usr/local/opt/php7` $ make install ---- #### To uninstall PHP 7.0 $ rm -rvf "/usr/local/opt/php7" $ rm -rvf "/usr/local/etc/php7" -
denji revised this gist
Dec 5, 2015 . 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 @@ -2,7 +2,7 @@ ##### 1. Install depends PHP 7.0 $ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt ##### 2. Configure PHP 7.0 -
denji revised this gist
Oct 15, 2015 . 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 @@ -2,7 +2,7 @@ ##### 1. Install depends PHP 7.0 $ brew install autoconf automake gmp bison27 gd freetype t1lib gettext zlib mcrypt ##### 2. Configure PHP 7.0 -
denji revised this gist
Oct 15, 2015 . 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 @@ -2,7 +2,7 @@ ##### 1. Install depends PHP 7.0 $ brew install autoconf automake bison27 gd freetype t1lib gettext zlib mcrypt ##### 2. Configure PHP 7.0 -
denji revised this gist
Oct 15, 2015 . 1 changed file with 10 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 @@ -2,7 +2,7 @@ ##### 1. Install depends PHP 7.0 $ brew install autoconf automake bison27 gd freetype t1lib mariadb gettext zlib mcrypt ##### 2. Configure PHP 7.0 @@ -26,9 +26,18 @@ --with-curl \ --with-iconv \ --with-gmp \ --with-gd \ --with-jpeg-dir=`brew --prefix gd` \ --with-png-dir=`brew --prefix gd` \ --with-freetype-dir=`brew --prefix freetype` \ --with-t1lib=`brew --prefix t1lib` \ --enable-gd-native-ttf \ --enable-gd-jis-conv \ --with-openssl \ --enable-mysqlnd \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-mysql-sock=/tmp/mysql.sock \ --with-gettext=`brew --prefix gettext` \ --with-zlib=`brew --prefix zlib` \ --with-bz2 \ -
denji revised this gist
Oct 15, 2015 . 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 @@ -46,8 +46,8 @@ --identifier org.denji.php7 \ --version 7.0.0 \ --ownership recommended \ PHP-7.0.0.pkg $ open -R PHP-7.0.0.pkg #### Install PHP 7.0 to `/usr/local/opt/php7` -
denji revised this gist
Oct 15, 2015 . 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 @@ -44,10 +44,10 @@ $ pkgbuild \ --root php7-pkg \ --identifier org.denji.php7 \ --version 7.0.0 \ --ownership recommended \ PHPng-7.0.0.pkg $ open -R PHPng-7.0.0.pkg #### Install PHP 7.0 to `/usr/local/opt/php7` -
denji revised this gist
Oct 15, 2015 . 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 @@ -44,10 +44,10 @@ $ pkgbuild \ --root php7-pkg \ --identifier org.denji.php7 \ --version 7.0.0RC \ --ownership recommended \ PHPng-7.0.0RC.pkg $ open -R PHPng-7.0.0RC.pkg #### Install PHP 7.0 to `/usr/local/opt/php7` -
denji revised this gist
Oct 15, 2015 . 1 changed file with 2 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 @@ -65,6 +65,7 @@ 1. export `php.ini-{development,production}`, `php-fpm.ini`, `extensions ini`, `php.ini`, `fpm srcipt launchd` in /usr/local/etc/php7/ #### Links * [Packaging a daemon for OS X](http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html) * [PHP: mysqlnd saves 40% memory, finally](http://blog.ulf-wendel.de/2007/php-mysqlnd-saves-40-memory-finally-new-tuning-options/)  -
denji revised this gist
Oct 15, 2015 . No changes.There are no files selected for viewing
-
denji revised this gist
Oct 15, 2015 . 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 @@ -6,7 +6,7 @@ ##### 2. Configure PHP 7.0 $ git clone --depth=1 https://github.com/php/php-src.git $ cd php-src $ ./buildconf $ env YACC=`brew --prefix bison27`/bin/bison ./configure \ -
denji revised this gist
Oct 15, 2015 . 3 changed files with 70 additions and 84 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,51 +0,0 @@ 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,33 +0,0 @@ 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,70 @@ #### Quick install PHP 7.0: ##### 1. Install depends PHP 7.0 $ brew install autoconf automake gmp bison27 gettext zlib mcrypt ##### 2. Configure PHP 7.0 $ git clone https://github.com/php/php-src.git $ cd php-src $ ./buildconf $ env YACC=`brew --prefix bison27`/bin/bison ./configure \ --prefix="/usr/local/opt/php7" \ --with-config-file-path="/usr/local/etc/php7" \ --enable-mbstring \ --enable-zip \ --enable-bcmath \ --enable-pcntl \ --enable-ftp \ --enable-exif \ --enable-calendar \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-wddx \ --with-curl \ --with-iconv \ --with-gmp \ --with-openssl \ --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-gettext=`brew --prefix gettext` \ --with-zlib=`brew --prefix zlib` \ --with-bz2 \ --with-mcrypt=`brew --prefix mcrypt` $ make -j `sysctl -n hw.logicalcpu_max` $ open -R . ---- #### Optional. Deploy OSX package (First step 2 finish) $ env INSTALL_ROOT=$PWD/php7-pkg make install $ pkgbuild \ --root php7-pkg \ --identifier org.denji.php7 \ --version 7.0.0-dev \ --ownership recommended \ PHPng-7.0.0-dev.pkg $ open -R PHPng-7.0.0-dev.pkg #### Install PHP 7.0 to `/usr/local/opt/php7` $ make install ---- #### Uninstall PHP 7.0 $ rm -rvf "/usr/local/opt/php7" $ rm -rvf "/usr/local/etc/php7" #### TODO 1. export `php.ini-{development,production}`, `php-fpm.ini`, `extensions ini`, `php.ini`, `fpm srcipt launchd` in /usr/local/etc/php7/ #### Links - [Packaging a daemon for OS X](http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html)  -
denji revised this gist
Oct 15, 2015 . No changes.There are no files selected for viewing
-
denji revised this gist
Feb 22, 2015 . 1 changed file with 1 addition 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 @@ -10,10 +10,8 @@ ##### 2. Configure PHP 7.0 (phpng) $ git clone https://github.com/php/php-src.git $ cd php-src $ ./buildconf $ curl -sL https://gist.github.com/denji/8e50fcb13482c5d6c78a/raw/configure.bash | bash -s $ make -j`sysctl -n hw.logicalcpu_max` -
denji revised this gist
Sep 26, 2014 . 1 changed file with 3 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 @@ -48,4 +48,6 @@ 1. export `php.ini-{development,production}`, `php-fpm.ini`, `extensions ini`, `php.ini`, `fpm srcipt launchd` in /usr/local/etc/phpng/ #### Links - [Packaging a daemon for OS X](http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html)  -
denji revised this gist
Sep 26, 2014 . 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 @@ > ~~curl -L https://github.com/php/php-src/pull/685.diff | patch -p1~~ ##### 2. Configure PHP 7.0 (phpng) $ git clone https://git.php.net/repository/php-src.git $ cd php-src -
denji revised this gist
Sep 26, 2014 . 1 changed file with 5 additions and 5 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,14 +1,14 @@ #### Quick install PHP 7.0 (phpng): ##### 1. Install depends PHP 7.0 (phpng) $ brew install autoconf automake bison27 gd freetype t1lib mariadb gettext zlib mcrypt ##### ~~Add support for Bison 3.x~~ > ~~curl -L https://github.com/php/php-src/pull/685.diff | patch -p1~~ ##### 2. Configure PHP 7.05 (phpng) $ git clone https://git.php.net/repository/php-src.git $ cd php-src @@ -32,13 +32,13 @@ PHPng-7.0.0-dev.pkg $ open -R PHPng-7.0.0-dev.pkg #### Install PHP 7.0 (phpng) to `/usr/local/opt/phpng` $ make install ---- #### Uninstall PHP 7.0 (phpng) $ rm -rvf "/usr/local/opt/phpng" $ rm -rvf "/usr/local/etc/phpng" -
denji revised this gist
Sep 26, 2014 . 1 changed file with 4 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 @@ -43,5 +43,9 @@ $ rm -rvf "/usr/local/opt/phpng" $ rm -rvf "/usr/local/etc/phpng" #### TODO 1. export `php.ini-{development,production}`, `php-fpm.ini`, `extensions ini`, `php.ini`, `fpm srcipt launchd` in /usr/local/etc/phpng/ #### Links - [Packaging a daemon for OS X](http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html) -
denji revised this gist
Sep 26, 2014 . 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 @@ -26,7 +26,7 @@ $ env INSTALL_ROOT=$PWD/phpng-pkg make install $ pkgbuild \ --root phpng-pkg \ --identifier org.denji.phpng \ --version 7.0.0-dev \ --ownership recommended \ PHPng-7.0.0-dev.pkg -
denji revised this gist
Sep 26, 2014 . 1 changed file with 1 addition 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 @@ -30,6 +30,7 @@ --version 7.0.0-dev \ --ownership recommended \ PHPng-7.0.0-dev.pkg $ open -R PHPng-7.0.0-dev.pkg #### Install PHP 5.7 (phpng) to `/usr/local/opt/phpng` -
denji revised this gist
Sep 26, 2014 . 1 changed file with 4 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 @@ -24,9 +24,11 @@ #### Deploy OSX package (First step 2 finish) $ env INSTALL_ROOT=$PWD/phpng-pkg make install $ pkgbuild \ --root phpng-pkg \ --identifier org.homebrew.phpng \ --version 7.0.0-dev \ --ownership recommended \ PHPng-7.0.0-dev.pkg #### Install PHP 5.7 (phpng) to `/usr/local/opt/phpng` -
denji revised this gist
Sep 26, 2014 . 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 @@ -26,8 +26,8 @@ $ env INSTALL_ROOT=$PWD/phpng-pkg make install $ pkgbuild --root phpng-pkg \ --identifier org.homebrew.phpng \ --version 7.0.0-dev --ownership recommended \ PHPng-7.0.0-dev.pkg #### Install PHP 5.7 (phpng) to `/usr/local/opt/phpng` -
denji revised this gist
Sep 26, 2014 . 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 @@ -23,7 +23,7 @@ #### Deploy OSX package (First step 2 finish) $ env INSTALL_ROOT=$PWD/phpng-pkg make install $ pkgbuild --root phpng-pkg \ --identifier org.homebrew.phpng \ --version 5.7 --ownership recommended \ -
denji revised this gist
Sep 26, 2014 . 1 changed file with 2 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 @@ -21,10 +21,9 @@ ---- #### Deploy OSX package (First step 2 finish) env INSTALL_ROOT=$PWD/phpng-pkg make install $ pkgbuild --root phpng-pkg \ --identifier org.homebrew.phpng \ --version 5.7 --ownership recommended \ -
denji revised this gist
Sep 26, 2014 . 1 changed file with 0 additions and 11 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,11 +0,0 @@
NewerOlder