Install PHP 5.3.3 on CentOS 6.3

CentOS 6.3 installation in VMware Workstation 7.1

 

1) Install CentOS 6.3 -> How to install CentOS 6.3 ;

2) Create a Local Yum Repository in CentOS 6.3 -> Create a Local Yum Repository in CentOS 6.3 in 5 steps

3) Run yum install php and php5  will be installed!!! Done!!!

 

[root@localhost ~]# yum install php

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

base
| 1.3 kB 00:00

Setting up Install Process

Resolving Dependencies

–> Running transaction check

—> Package php.i686 0:5.3.3-3.el6_2.8 will be installed

–> Processing Dependency: php-common = 5.3.3-3.el6_2.8 for package: php-5.3.3-3.el6_2.8.i686

–> Processing Dependency: php-cli = 5.3.3-3.el6_2.8 for package: php-5.3.3-3.el6_2.8.i686

–> Running transaction check

—> Package php-cli.i686 0:5.3.3-3.el6_2.8 will be installed

—> Package php-common.i686 0:5.3.3-3.el6_2.8 will be installed

–> Finished


Dependency Resolution

Dependencies Resolved

==========================================================================================

PackageArchVersionRepositorySize

=========================================================================================

Installing:

phpi6865.3.3-3.el6_2.8base1.1 M

Installing for dependencies:

phpclii6865.3.3-3.el6_2.8base2.2 M

php-common i6865.3.3-3.el6_2.8 base523 k

Transaction Summary

============================================================================================

Install3 Package(s)

 

Total download size: 3.8 M

Installed size: 12 M

Is this ok [y/N]: y

Downloading Packages:

(1/3): php-5.3.3-3.el6_2.8.i686.rpm | 1.1 MB00:00

(2/3): php-cli-5.3.3-3.el6_2.8.i686.rpm | 2.2 MB00:00

(3/3): php-common-5.3.3-3.el6_2.8.i686.rpm| 523 kB 00:00

——————————————————————————————-

Total8.2 MB/s | 3.8 MB00:00

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Installing :

php-common-5.3.3-3.el6_2.8.i6861/3

Installing :
php-cli-5.3.3-3.el6_2.8.i686
2/3

Installing :

php-5.3.3-3.el6_2.8.i686
3/3

Verifying: php-common-5.3.3-3.el6_2.8.i686
1/3

Verifying: php-5.3.3-3.el6_2.8.i6862/3

Verifying: php-cli-5.3.3-3.el6_2.8.i686
3/3

Installed:

php.i686 0:5.3.3-3.el6_2.8

Dependency Installed:

php-cli.i686 0:5.3.3-3.el6_2.8
php-common.i686 0:5.3.3-3.el6_2.8

Complete!

[root@localhost ~]#

 

[root@localhost ~]# yuminfo php

 

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Installed Packages

Name: php

Arch: i686

Version: 5.3.3

Release: 3.el6_2.8

Size: 3.3 M

Repo: installed

From repo: base

Summary: PHP scripting language for creating dynamic web sites

URL: http://www.php.net/

License: PHP

Description : PHP is an HTML-embedded scripting language. PHP attempts to make it : easy for
developers to write dynamically generated webpages. PHP also : offers built-in database integration for several commercial and : non-commercial database management systems, so writing a : database-enabled webpage with PHP is fairly simple. The most common : use of PHP coding is probably as a replacement for CGI scripts.: The php package contains the module which adds support for the PHP : language to Apache HTTP Server.

Done!!!

 

Advertisements

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