Created
September 17, 2015 16:11
-
-
Save JburkeRSAC/8b946b79cbad72cc2604 to your computer and use it in GitHub Desktop.
Install from source libxml2-2.9 & php-5.4.45
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 | |
#By jburke@wapacklabs.com | |
cd ~ && apt-get install apache2 vim tmux libxml2-dev make -y | |
wget http://xmlsoft.org/sources/libxml2-2.9.0.tar.gz | |
tar -zxvf libxml2-2.9.0.tar.gz | |
cd libxml2-2.9.0/ && ./configure | |
make && make install | |
cd ~ && wget https://downloads.php.net/~stas/php-5.4.45.tar.gz | |
tar -zxvf php-5.4.45.tar.gz | |
cd php-5.4.45/ && ./configure --with-libxml-dir=/root/libxml2-2.9.0/ | |
make && make install | |
php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment