Last active
January 20, 2019 19:03
-
-
Save UbuntuEvangelist/fc2fef6df794725c9fa107b679e750be to your computer and use it in GitHub Desktop.
php 5.5.9 install ubuntu 18.0
This file contains hidden or 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 | |
| # run all commands from root | |
| # source http://www.linuxfromscratch.org/blfs/view/7.5/general/php.html | |
| apt update && sudo apt-get upgrade --fix-missing | |
| apt install build-essential checkinstall | |
| apt install ubuntu-restricted-extras | |
| apt list --upgradable | |
| apt upgrade -y | |
| apt update -y | |
| wget http://us2.php.net/distributions/php-5.5.9.tar.bz2 | |
| apt-get install libxml2-dev | |
| tar xjf php-5.5.9.tar.bz2 | |
| cd php-5.5.9 | |
| ./configure | |
| make | |
| make install | |
| make test | |
| php -v | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment