Site Tools


linux:ubuntu:php5.6

php5.6

# purge php 7.0 if exists
sudo aptitude purge `dpkg -l | grep php| awk '{print $2}' |tr "\n" " "`
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6-fpm
# The following NEW packages will be installed:
#   libssl1.0.2 php-common php5.6-cli php5.6-common php5.6-fpm php5.6-json php5.6-opcache php5.6-readline
linux/ubuntu/php5.6.txt · Last modified: 2020-05-12 by dcai