Last active
September 20, 2023 15:09
-
-
Save szihaj/b1c2e6e14eb4dd939f57e0eb46a47ab1 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
hi, when i run sudo apt-get install php53-mod-mysql, i got that error:
php53-mod-mysql : Depends: libssl101r (>= 1.0.1d) but it is not installable
help please im using ubuntu 16.04