#!/bin/bash
# desc install php5.5
#add-apt-repository ppa:ondrej/php5
#apt-get install python-software-properties
#apt-get update
#apt-get install php5
#php5 -v
apt-get install python-software-properties
apt-get install -y ppa-purge
add-apt-repository ppa:ondrej/php5
apt-get update
apt-get install -y php5-fpm
apt-get install -y php5-MySQL php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-tidy php5-xsl
apt-get install -y php5-redis php5-mysqlnd
标题名称:Ubuntu12.04.1LTS升级PHP从5.3到5.5
文章位置:
http://cxhlcq.com/article/jgphcj.html