Page 1 of 1

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

Posted: Tue Oct 25, 2005 9:40 pm
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

Posted: Wed Oct 26, 2005 1:51 pm
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.

Posted: Thu Oct 27, 2005 1:33 am
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.

Posted: Thu Oct 27, 2005 5:57 am
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...