Created
February 7, 2019 15:27
-
-
Save bubba-h57/25e91120c4f62e1deb5dc3ef206dd094 to your computer and use it in GitHub Desktop.
Build Similar PHP 7.2 & 7.3 Debug/Pthreaded Builds on the same system using phpbrew
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
#!/usr/bin/env bash | |
brew install openssl | |
brew install gd | |
brew install imagemagick | |
brew install libmemcached | |
brew services start memcached | |
phpbrew install --name 7.3-debug php-7.3 \ | |
+zts \ | |
+debug \ | |
+ctype \ | |
+curl \ | |
+dom \ | |
+exif \ | |
+fileinfo \ | |
+filter \ | |
+gd \ | |
+hash \ | |
+iconv \ | |
+json \ | |
+mbstring \ | |
+openssl \ | |
+pcntl \ | |
+pcre \ | |
+pdo \ | |
+mysql \ | |
+pgsql \ | |
+sqlite \ | |
+posix \ | |
+readline \ | |
+session \ | |
+soap \ | |
+tokenizer \ | |
+xml \ | |
+opcache \ | |
+zip \ | |
+zlib \ | |
-- \ | |
--with-gd=shared | |
phpbrew switch 7.3-debug | |
phpbrew ext install github:krakjoe/pthreads master | |
phpbrew ext install apcu | |
phpbrew ext install igbinary | |
phpbrew ext install redis | |
phpbrew ext install imagick | |
phpbrew ext install memcached | |
phpbrew install --name 7.2-debug php-7.2 \ | |
+zts \ | |
+debug \ | |
+ctype \ | |
+curl \ | |
+dom \ | |
+exif \ | |
+fileinfo \ | |
+filter \ | |
+gd \ | |
+hash \ | |
+iconv \ | |
+json \ | |
+mbstring \ | |
+openssl \ | |
+pcntl \ | |
+pcre \ | |
+pdo \ | |
+mysql \ | |
+pgsql \ | |
+sqlite \ | |
+posix \ | |
+readline \ | |
+session \ | |
+soap \ | |
+tokenizer \ | |
+xml \ | |
+opcache \ | |
+zip \ | |
+zlib \ | |
-- \ | |
--with-gd=shared | |
phpbrew switch 7.2-debug | |
phpbrew ext install github:krakjoe/pthreads master | |
phpbrew ext install apcu | |
phpbrew ext install igbinary | |
phpbrew ext install redis | |
phpbrew ext install imagick | |
phpbrew ext install memcached |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment