Skip to content

Instantly share code, notes, and snippets.

@hnw

hnw/-

Created July 2, 2015 03:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hnw/f7ae61f290bbaa32401d to your computer and use it in GitHub Desktop.
Save hnw/f7ae61f290bbaa32401d to your computer and use it in GitHub Desktop.
diff --git a/share/php-build/definitions/5.6.8 b/share/php-build/definitions/5.6.8
index 33714bc..2eb2b3e 100644
--- a/share/php-build/definitions/5.6.8
+++ b/share/php-build/definitions/5.6.8
@@ -1,3 +1,6 @@
+configure_option "--enable-intl"
+configure_option "--with-icu-dir" "$(brew --prefix icu4c)"
+
install_package "http://php.net/distributions/php-5.6.8.tar.bz2"
install_pyrus
install_xdebug "2.3.2"
diff --git a/share/php-build/definitions/master b/share/php-build/definitions/master
index a2ada89..f6a9652 100644
--- a/share/php-build/definitions/master
+++ b/share/php-build/definitions/master
@@ -1,3 +1,7 @@
+configure_option "--enable-intl"
+configure_option "--with-icu-dir" "$(brew --prefix icu4c)"
+configure_option -D "--with-mysql"
+
install_package_from_github master
install_pyrus
# Xdebug is not yet compatible with PHP 7 so it is disabled for now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment