Last active
December 17, 2015 20:49
-
-
Save mrsimonbennett/5670447 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
wget http://uk1.php.net/distributions/php-5.4.15.tar.bz2 | |
apt-get update | |
apt-get upgrade -yq | |
apt-get -yq install bzip2 openssl libxml2 libxml2-dev gcc make autoconf htop sudo git dstat | |
tar xvjf php-5*.tar.bz2 | |
cd php-5* | |
cd ext/ | |
git clone git://github.com/krakjoe/pthreads.git | |
cd ../ | |
./buildconf --force | |
./configure --enable-maintainer-zts --enable-sockets --enable-pcntl --enable-pthreads --with-tsrm-pthreads | |
make | |
make test | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment