Wednesday, September 10, 2008

Linux package installation or php upgrade howto

Installing PHP is easy these days.
Red Hat enterprise Linux PHP installation

If you would like to install or upgrade PHP use up2date command:
# up2date php
CentOS/Fedora core Linux PHP installation

If you would like to install PHP use yum command
# yum install php

If you would like to upgrade PHP use yum command
# yum update php
Debian / Ubentu Linux PHP installation

If you would like to install or upgrade PHP use atp-get command
# apt-get install php4-cgi php4-cli
# sudo apt-get install php4-cgi php4-cli

To install PHP 5
# apt-get install php5-cgi php5-cli
# sudo apt-get install php5-cgi php5-cli
FreeBSD PHP installation

Use pkg_add command as follows:
# pkg_add -v -r php

Use above command to install Apache or Lighttpd web server.


u also can use yum search (word) too

2 comments:

peah @ peps said...

..hi there...I used to use php before..php 4 and 5...this bring back the memory lane...:)

Name Company said...

hi hehe

Locations of visitors to this page
DROP ME A MSG :D