Centos php 5.2 (Shamie Punya Pasal Tarak hal lah!!)

Posted: April 17, 2011 in My live

Memula check dulu php apa yang ada…

taip..

# rpm -qa |grep php

akan keluar mcm nih ..

php-common-5.1.6-15.el5.i386

php-cli-5.1.6-15.el5.i386

php-5.1.6-15.el5.i386

php-pdo-5.1.6-15.el5.i386

php-bcmath-5.1.6-15.el5.i386

php-ldap-5.1.6-15.el5.i386

php-devel-5.1.6-15.el5.i386

php-gd-5.1.6-15.el5.i386

php-xml-5.1.6-15.el5.i386

php-mbstring-5.1.6-15.el5.i386

php-mysql-5.1.6-15.el5.i386

php-dba-5.1.6-15.el5.i386

pastu update repo utk php.

kalau pakai pico pun picolah kalau pakai vi pun taip lah vi .. ;p

# vi /etc/yum.repos.d/CentOS-Testing.repo

msukkan benda alah nih ..

#————————- potong di sini ————————————–

# CentOS-Testing:

# !!!! CAUTION !!!!

# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.

# They may or may not replace core CentOS packages, and are not guaranteed to function properly.

# These packages build and install, but are waiting for feedback from testers as to

# functionality and stability. Packages in this repository will come and go during the

# development period, so it should not be left enabled or used on production systems without due

# consideration.

[c5-testing]

name=CentOS-5 Testing

baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/

enabled=1

gpgcheck=1

gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

includepkgs=php*

#————————- potong di sini ————————————–

kemudian taip

# yum update -y

dah sudah tu restart apache

# service httpd restart

test php jadi ko dop pakai command nih …

# php -v

akan keluar mcm nih

PHP 5.2.6 (cli) (built: Sep 15 2008 20:42:05)

Copyright (c) 1997-2008 The PHP Group

Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies

BEYEH AHH TUH ………………

# /etc/yum.repos.d/CentOS-Testing.repo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s