1 頁 (共 1 頁)

How to install PHP 5.2.17 on Ubuntu Server

發表於 : 2014-10-02 09:30:16
yehlu
http://oleksiy.pro/2013/03/29/installin ... buntu-aws/

代碼: 選擇全部

sudo apt-add-repository ppa:andphe/php
sudo aptitude update
apt-cache showpkg php5-common

Re: How to install PHP 5.2.17 on Ubuntu Server

發表於 : 2014-10-06 11:23:57
yehlu

代碼: 選擇全部

sudo aptitude -y install php5-common=5.2.17.dfsg.1-0ubuntu0ppa3~lucid libapache2-mod-php5=5.2.17.dfsg.1-0ubuntu0ppa3~lucid php5=5.2.17.dfsg.1-0ubuntu0ppa3~lucid php5-cli=5.2.17.dfsg.1-0ubuntu0ppa3~lucid php5-curl=5.2.17.dfsg.1-0ubuntu0ppa3~lucid php5-mcrypt=5.2.17.dfsg.1-0ubuntu0ppa3~lucid php5-gd=5.2.17.dfsg.1-0ubuntu0ppa3~lucid php5-dev=5.2.17.dfsg.1-0ubuntu0ppa3~lucid php-pear=5.2.17.dfsg.1-0ubuntu0ppa3~lucid
sudo aptitude -y install php5-xmlrpc=5.2.17.dfsg.1-0ubuntu0ppa3~lucid 
sudo pecl install uploadprogress
sudo pecl install apc

Re: How to install PHP 5.2.17 on Ubuntu Server

發表於 : 2014-10-06 11:26:09
yehlu
http://cogo.wordpress.com/2010/07/19/pc ... extension/
/usr/include/php5/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory

代碼: 選擇全部

apt-get install libpcre3-dev

Re: How to install PHP 5.2.17 on Ubuntu Server

發表於 : 2014-10-22 09:52:20
yehlu

代碼: 選擇全部

sudo aptitude -y install php5-mysql=5.2.17.dfsg.1-0ubuntu0ppa3~lucid