.:: Blackc0de Forum ::.
Would you like to react to this message? Create an account in a few clicks or log in to continue.

-=Explore The World From Our Binary=-
 
HomeIndeksLatest imagesPendaftaranLogin

 

 Upgrade PHP 5.3.9 di Linux Centos 6.2 - 64bit

Go down 
PengirimMessage
alexis
VIP Member
VIP Member
alexis


Jumlah posting : 199
Points : 384
Reputation : 9
Join date : 21.02.11

Upgrade PHP 5.3.9 di Linux Centos 6.2 - 64bit Empty
PostSubyek: Upgrade PHP 5.3.9 di Linux Centos 6.2 - 64bit   Upgrade PHP 5.3.9 di Linux Centos 6.2 - 64bit Icon_minitimeTue Apr 03, 2012 5:28 am

Tutorial ini saya buat sebagai referensi pribadi saya dan mudah-mudahan bermanfaat juga untuk teman pembaca semua.

PHP yang ada pada centos 6.2 defaultnya yang terbaru adalah versi 5.3.3 :

# php -v
PHP 5.3.3 (cli) (built: Jan 11 2012 19:53:01)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Dan ternyata versi ini masih memiliki kelemahan atau vulnerability jika di DDos maka akan down service httpd nya. Untuk itu harus di upgrade ke versi 5.3.9.

PHP versi 5.3.9 ini tidak ada pada default repository milik centos 6.2. Untuk itu kita harus download manual php nya dan melakukan instalasi file rpm yang dibutuhkan.

Berikut langkah-langkahnya :

1. Download file php yang dibutuhkan :

# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]
# wget [You must be registered and logged in to see this link.]

2. Lakukan instalasi file yang sudah di download :

# rpm -ivh *.rpm
Preparing... ########################################### [100%]
1:php-common ########################################### [ 6%]
2:php-cli ########################################### [ 13%]
3:php ########################################### [ 19%]
4:php-pdo ########################################### [ 25%]
5:php-mysql ########################################### [ 31%]
6:php-devel ########################################### [ 38%]
7:php-dba ########################################### [ 44%]
8:php-embedded ########################################### [ 50%]
9:php-gd ########################################### [ 56%]
10:php-ldap ########################################### [ 63%]
11:php-mbstring ########################################### [ 69%]
12:php-process ########################################### [ 75%]
13:php-soap ########################################### [ 81%]
14:php-xml ########################################### [ 88%]
15:php-xmlrpc ########################################### [ 94%]
16:php-zts ########################################### [100%]


3. Restart service apache nya :

# /etc/init.d/httpd restart

Selesai, sekarang versi php nya sudah di upgrade ke versi 5.3.9 :

# php -v
PHP 5.3.9 (cli) (built: Jan 14 2012 21:15:53)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Kembali Ke Atas Go down
 
Upgrade PHP 5.3.9 di Linux Centos 6.2 - 64bit
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» Installasi Metasploit di Linux CentOS
» Install Kylix di Linux (Alternatif Pengganti Delphi di Linux)
» CentOS 6.0 Release
» Installasi Zimbra di Centos
» [help] install postfix centOS

Permissions in this forum:Anda tidak dapat menjawab topik
.:: Blackc0de Forum ::. :: Information Technology :: Operating system ( OS ) :: Linux-
Navigasi: