Monday, 25 November 2013

Install PHP 5.4 ON Debian Squeeze | Dotdeb

1. First add these two lines to your /etc/apt/sources.list file:
deb http://packages.dotdeb.org squeeze-php54 all
deb-src http://packages.dotdeb.org squeeze-php54 all
2. Now fetch the appropriate GnuPG key:
# wget http://www.dotdeb.org/dotdeb.gpg
# cat dotdeb.gpg | sudo apt-key add -
3. Install PHP 5.4:
# apt-get update
# apt-get upgrade
# apt-get install php5 php5-curl php5-gd php5-mysql php5-cli
4. Sekarang Cek php version :
# root@deb:/# php -v
PHP 5.4.21-1~dotdeb.0 (cli) (built: Nov  2 2013 21:32:49)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies


0 comments:

Post a Comment