Anyone using PHP 5 on CentOS? Where to get packages?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
myleow
Forum Contributor
Posts: 194
Joined: Mon Jun 21, 2004 7:05 pm
Location: California

Anyone using PHP 5 on CentOS? Where to get packages?

Post by myleow »

Dear CentOS users,

I am planning to get a Server from LiquidWeb (http://www.liquidweb.com) and they uses CentOS but i am used to FreeBSD. I would like to know how do you get packages that is similar to PORTs for FreeBSD. Is there anything similar to PORTs in CentOS where i can install PHP5-Session, PHP5-pgsql, etc?

I am still deciding between LiquidWeb and A2B2, where A2B2 has FreeBSD, but i like LiquidWeb's package better.

So please educate me about CentOS' package management system, i know its similar to RH and uses RPM but i never used RH either.

Thank you in advance.

Regards
Mian
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I wouldn't worry about it too much.

I usually prefer to compile and install anything http server related by hand for the most control but that's just personal prefence.

After a quick Google it appears that CentOS is a RPM based distro like red Hat and SuSE. Chance are you'll have to download the rpm files and then install them using rpm -i package_file.rpm or something similar. Disadvantage of RPM based distros -- it's all binaries built on different systems, not neccessarily (did i spell it right this time?) the way you would do it by hand. Advantage -- you dont have to hang around waiting for things to compile and it's easy.
myleow
Forum Contributor
Posts: 194
Joined: Mon Jun 21, 2004 7:05 pm
Location: California

Post by myleow »

Thanks for the information. I found out that CentOSPlus has RPM packages for some PHP5 related packages but not a lot of selection. You can look at it if you like http://mirrors.csol.org/CentOS/4.2/cent ... i386/RPMS/

Scary thing is that it does not have PHP5-Session. But i will try out LiquidWeb for a while, if i don't like it. Easy cancel and go with something i am more familiar with.

Regards
Mian

P.S. Hopefully everything runs smoothly.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

myleow wrote:.... But i will try out LiquidWeb for a while, if i don't like it. Easy cancel and go with something i am more familiar with.

Regards
Mian

P.S. Hopefully everything runs smoothly.
I'd make that choice too... you might spend too much wasted time just trying to learn the OS when in reality you could have the server up and running using what you know in far less time. I don't really like RPM based systems as ideal server setups...
Post Reply