-
-
Save vordan/0aa68ffa441d9d2d26bce2e5b94358e7 to your computer and use it in GitHub Desktop.
How to install PHP 5.3 on Ubuntu
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
sudo add-apt-repository ppa:sergey-dryabzhinsky/php53 | |
sudo apt-get update | |
sudo apt-get install php53-common php53-cli | |
# to see a list of available packages: | |
# apt-cache search php53 | |
# ex.: sudo apt-get install php53-mod-mysql | |
# Apache module: | |
sudo apt-get install libapache2-mod-php53 | |
# - disable current php module, for example: | |
sudo a2dismod php7.0 | |
# - then, enable php5.3 module: | |
sudo a2enmod php53 | |
# - restart webserver: | |
sudo service apache2 restart | |
# Modules: | |
# ppa:sergey-dryabzhinsky/php53-modules |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment