Skip to content

Instantly share code, notes, and snippets.

@jaizquierdogalan
Created January 1, 2017 20:04
Show Gist options
  • Select an option

  • Save jaizquierdogalan/ec5427a25bdb0d9c85e3037897b7f99b to your computer and use it in GitHub Desktop.

Select an option

Save jaizquierdogalan/ec5427a25bdb0d9c85e3037897b7f99b to your computer and use it in GitHub Desktop.

Revisions

  1. @tam5 tam5 revised this gist Feb 16, 2016. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions readme-php7.md
    Original 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
  2. @tam5 tam5 revised this gist Feb 16, 2016. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions readme-php7.md
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@

    ----

    #### Optional: Deploy OS X package (First finish step 2)
    ##### 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

    #### Install PHP 7.1 to `/usr/local/opt/php7`
    ##### 4. Install PHP 7.1 to `/usr/local/opt/php7`

    $ make install

    ----

    #### TODO
    ##### 5. TODO

    1. export `php.ini-{development,production}`, `php-fpm.ini`, `extensions ini`, `php.ini`, `fpm srcipt launchd` in /usr/local/etc/php7/

  3. @tam5 tam5 revised this gist Feb 16, 2016. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions readme-php7.md
    Original 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

  4. @tam5 tam5 revised this gist Feb 16, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions readme-php7.md
    Original 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"

    ----

    ![2016-2-16](https://cloud.githubusercontent.com/assets/11488762/13084373/3730ef5e-d4a7-11e5-9b5e-ece9f15d2f2e.png)
  5. @tam5 tam5 revised this gist Feb 16, 2016. 1 changed file with 15 additions and 14 deletions.
    29 changes: 15 additions & 14 deletions readme-php7.md
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,8 @@
    #### Quick install PHP 7.0:

    ##### 1. Install dependencies for PHP 7.0
    ##### 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.0
    ##### 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 OSX package (First finish step 2)
    #### 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.0.0 \
    --version 7.1.0 \
    --ownership recommended \
    PHP-7.0.0.pkg
    PHP-7.1.0.pkg

    #### Install PHP 7.0 to `/usr/local/opt/php7`
    #### Install PHP 7.1 to `/usr/local/opt/php7`

    $ make install

    ----

    #### To 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/
    @@ -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/)

    ![2014-09-26 10 36 56](https://cloud.githubusercontent.com/assets/3759759/4417188/02cff008-4550-11e4-9a90-09e10fd0fd34.png)

    ----

    #### To uninstall PHP 7.1

    $ rm -rvf "/usr/local/opt/php7"
    $ rm -rvf "/usr/local/etc/php7"

    ![2016-2-16](https://cloud.githubusercontent.com/assets/11488762/13084373/3730ef5e-d4a7-11e5-9b5e-ece9f15d2f2e.png)
  6. @tam5 tam5 revised this gist Feb 16, 2016. 1 changed file with 5 additions and 6 deletions.
    11 changes: 5 additions & 6 deletions readme-php7.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    #### Quick install PHP 7.0:

    ##### 1. Install depends 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`
    $ open -R .

    ----

    #### Optional. Deploy OSX package (First step 2 finish)
    #### 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
    $ open -R PHP-7.0.0.pkg

    #### Install PHP 7.0 to `/usr/local/opt/php7`

    $ make install

    ----

    #### Uninstall PHP 7.0
    #### To uninstall PHP 7.0

    $ rm -rvf "/usr/local/opt/php7"
    $ rm -rvf "/usr/local/etc/php7"
  7. @denji denji revised this gist Dec 5, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion readme-php7.md
    Original 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
    $ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt

    ##### 2. Configure PHP 7.0

  8. @denji denji revised this gist Oct 15, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion readme-php7.md
    Original 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
    $ brew install autoconf automake gmp bison27 gd freetype t1lib gettext zlib mcrypt

    ##### 2. Configure PHP 7.0

  9. @denji denji revised this gist Oct 15, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion readme-php7.md
    Original 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
    $ brew install autoconf automake bison27 gd freetype t1lib gettext zlib mcrypt

    ##### 2. Configure PHP 7.0

  10. @denji denji revised this gist Oct 15, 2015. 1 changed file with 10 additions and 1 deletion.
    11 changes: 10 additions & 1 deletion readme-php7.md
    Original 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 gettext zlib mcrypt
    $ 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 \
  11. @denji denji revised this gist Oct 15, 2015. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions readme-php7.md
    Original file line number Diff line number Diff line change
    @@ -46,8 +46,8 @@
    --identifier org.denji.php7 \
    --version 7.0.0 \
    --ownership recommended \
    PHPng-7.0.0.pkg
    $ open -R PHPng-7.0.0.pkg
    PHP-7.0.0.pkg
    $ open -R PHP-7.0.0.pkg

    #### Install PHP 7.0 to `/usr/local/opt/php7`

  12. @denji denji revised this gist Oct 15, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions readme-php7.md
    Original 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 \
    --version 7.0.0 \
    --ownership recommended \
    PHPng-7.0.0RC.pkg
    $ open -R PHPng-7.0.0RC.pkg
    PHPng-7.0.0.pkg
    $ open -R PHPng-7.0.0.pkg

    #### Install PHP 7.0 to `/usr/local/opt/php7`

  13. @denji denji revised this gist Oct 15, 2015. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions readme-php7.md
    Original 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-dev \
    --version 7.0.0RC \
    --ownership recommended \
    PHPng-7.0.0-dev.pkg
    $ open -R PHPng-7.0.0-dev.pkg
    PHPng-7.0.0RC.pkg
    $ open -R PHPng-7.0.0RC.pkg

    #### Install PHP 7.0 to `/usr/local/opt/php7`

  14. @denji denji revised this gist Oct 15, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion readme-php7.md
    Original 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)
    * [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/)

    ![2014-09-26 10 36 56](https://cloud.githubusercontent.com/assets/3759759/4417188/02cff008-4550-11e4-9a90-09e10fd0fd34.png)
  15. @denji denji revised this gist Oct 15, 2015. No changes.
  16. @denji denji revised this gist Oct 15, 2015. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion readme-php7.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@

    ##### 2. Configure PHP 7.0

    $ git clone https://github.com/php/php-src.git
    $ git clone --depth=1 https://github.com/php/php-src.git
    $ cd php-src
    $ ./buildconf
    $ env YACC=`brew --prefix bison27`/bin/bison ./configure \
  17. @denji denji revised this gist Oct 15, 2015. 3 changed files with 70 additions and 84 deletions.
    51 changes: 0 additions & 51 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,51 +0,0 @@
    #### 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.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`
    $ open -R .

    ----

    #### Deploy OSX package (First step 2 finish)

    $ 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
    $ 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"

    #### 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)

    ![2014-09-26 10 36 56](https://cloud.githubusercontent.com/assets/3759759/4417188/02cff008-4550-11e4-9a90-09e10fd0fd34.png)
    33 changes: 0 additions & 33 deletions configure.bash
    Original file line number Diff line number Diff line change
    @@ -1,33 +0,0 @@
    # configure phpng
    env YACC=`brew --prefix bison27`/bin/bison ./configure \
    --prefix="/usr/local/opt/phpng" \
    --with-config-file-path="/usr/local/etc/phpng" \
    --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-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 \
    --with-mysql=`brew --prefix mariadb` \
    --with-pdo-mysql=`brew --prefix mariadb` \
    --with-gettext=`brew --prefix gettext` \
    --with-zlib=`brew --prefix zlib` \
    --with-bz2 \
    --with-mysqli=`brew --prefix`/bin/mysql_config \
    --with-mcrypt=`brew --prefix mcrypt`
    70 changes: 70 additions & 0 deletions readme-php7.md
    Original 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)

    ![2014-09-26 10 36 56](https://cloud.githubusercontent.com/assets/3759759/4417188/02cff008-4550-11e4-9a90-09e10fd0fd34.png)
  18. @denji denji revised this gist Oct 15, 2015. No changes.
  19. @denji denji revised this gist Feb 22, 2015. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -10,10 +10,8 @@
    ##### 2. Configure PHP 7.0 (phpng)

    $ git clone https://git.php.net/repository/php-src.git
    $ git clone https://github.com/php/php-src.git
    $ cd php-src
    $ git branch phpng origin/phpng
    $ git checkout phpng
    $ ./buildconf
    $ curl -sL https://gist.github.com/denji/8e50fcb13482c5d6c78a/raw/configure.bash | bash -s
    $ make -j`sysctl -n hw.logicalcpu_max`
  20. @denji denji revised this gist Sep 26, 2014. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion README.md
    Original 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)
    - [Packaging a daemon for OS X](http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html)

    ![2014-09-26 10 36 56](https://cloud.githubusercontent.com/assets/3759759/4417188/02cff008-4550-11e4-9a90-09e10fd0fd34.png)
  21. @denji denji revised this gist Sep 26, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original 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.05 (phpng)
    ##### 2. Configure PHP 7.0 (phpng)

    $ git clone https://git.php.net/repository/php-src.git
    $ cd php-src
  22. @denji denji revised this gist Sep 26, 2014. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -1,14 +1,14 @@
    #### Quick install PHP 5.7 (phpng):
    #### Quick install PHP 7.0 (phpng):

    ##### 1. Install depends PHP 5.7 (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 5.7 (phpng)
    ##### 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 5.7 (phpng) to `/usr/local/opt/phpng`
    #### Install PHP 7.0 (phpng) to `/usr/local/opt/phpng`

    $ make install

    ----

    #### Uninstall PHP 5.7 (phpng)
    #### Uninstall PHP 7.0 (phpng)

    $ rm -rvf "/usr/local/opt/phpng"
    $ rm -rvf "/usr/local/etc/phpng"
  23. @denji denji revised this gist Sep 26, 2014. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions README.md
    Original 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)
  24. @denji denji revised this gist Sep 26, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original 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.homebrew.phpng \
    --identifier org.denji.phpng \
    --version 7.0.0-dev \
    --ownership recommended \
    PHPng-7.0.0-dev.pkg
  25. @denji denji revised this gist Sep 26, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions README.md
    Original 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`

  26. @denji denji revised this gist Sep 26, 2014. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions README.md
    Original 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 \
    $ pkgbuild \
    --root phpng-pkg \
    --identifier org.homebrew.phpng \
    --version 7.0.0-dev --ownership recommended \
    --version 7.0.0-dev \
    --ownership recommended \
    PHPng-7.0.0-dev.pkg

    #### Install PHP 5.7 (phpng) to `/usr/local/opt/phpng`
  27. @denji denji revised this gist Sep 26, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions README.md
    Original 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 5.7 --ownership recommended \
    PHPNG-5.7-OSX.pkg
    --version 7.0.0-dev --ownership recommended \
    PHPng-7.0.0-dev.pkg

    #### Install PHP 5.7 (phpng) to `/usr/local/opt/phpng`

  28. @denji denji revised this gist Sep 26, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion README.md
    Original 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
    $ env INSTALL_ROOT=$PWD/phpng-pkg make install
    $ pkgbuild --root phpng-pkg \
    --identifier org.homebrew.phpng \
    --version 5.7 --ownership recommended \
  29. @denji denji revised this gist Sep 26, 2014. 1 changed file with 2 additions and 3 deletions.
    5 changes: 2 additions & 3 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -21,10 +21,9 @@

    ----

    #### Deploy OSX package
    #### Deploy OSX package (First step 2 finish)

    # First step 2 finish
    make install DESTDIR=$PWD/phpng-pkg
    env INSTALL_ROOT=$PWD/phpng-pkg make install
    $ pkgbuild --root phpng-pkg \
    --identifier org.homebrew.phpng \
    --version 5.7 --ownership recommended \
  30. @denji denji revised this gist Sep 26, 2014. 1 changed file with 0 additions and 11 deletions.
    11 changes: 0 additions & 11 deletions Deploy.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +0,0 @@
    #### Deploy OSX package

    # First step 2 finish
    make install DESTDIR=$PWD/phpng-pkg
    $ pkgbuild --root phpng-pkg \
    --identifier org.homebrew.phpng \
    --version 5.7 --ownership recommended \
    PHPNG-5.7-OSX.pkg

    #### Links
    - [Packaging a daemon for OS X](http://vincent.bernat.im/en/blog/2013-autoconf-osx-packaging.html)