Install php 5.3.6 on ubuntu 10.04 64 bit
發表於 : 2017-02-11 22:06:28
http://serverfault.com/questions/250224 ... pendencies
There is PPA (Personal Package Archive) repository with PHP 5.3.6 at https://launchpad.net/~bjori/+archive/php5 with installation instructions. As I checked there is amd64 build as well (lucid).
sudo add-apt-repository ppa:bjori/php5
sudo apt-get update
sudo aptitude show php5
Package: php5
State: not installed
Version: 5.3.6-8ubuntu0ppa4~lucid1
Priority: optional
Section: php
Maintainer: Hannes Magnusson <bjori@php.net>
..
sudo aptitude install php5 php5-cli
php -v
PHP 5.3.6-8ubuntu0ppa4~lucid1 (cli) (built: May 5 2011 22:11:21)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Note that you need to enable universe repository for that.
There is PPA (Personal Package Archive) repository with PHP 5.3.6 at https://launchpad.net/~bjori/+archive/php5 with installation instructions. As I checked there is amd64 build as well (lucid).
sudo add-apt-repository ppa:bjori/php5
sudo apt-get update
sudo aptitude show php5
Package: php5
State: not installed
Version: 5.3.6-8ubuntu0ppa4~lucid1
Priority: optional
Section: php
Maintainer: Hannes Magnusson <bjori@php.net>
..
sudo aptitude install php5 php5-cli
php -v
PHP 5.3.6-8ubuntu0ppa4~lucid1 (cli) (built: May 5 2011 22:11:21)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Note that you need to enable universe repository for that.