Which version of CentOS is best for hosting websites?


I need to purchase a server to host a number of dynamic websites powered by Linux, Apache, MySQL and PHP.

I have used CentOS 4 in the past and am happy with it.

Which of the following options should I have installed on my server?  I will not be using any control panals like cpanel or anything fancy, just Apache, MySQL and PHP.

         CentOS 4 (32 bit)
         CentOS 4 (64 bit)
         CentOS 5 (32 bit)
         CentOS 5 (64 bit)

LVL 16
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I would go with CentOs 5 32 bit. 32bit is long testes is proved stable.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I am running centos 5.1 32 bit and am very happy with it.

incedentally, I would stay away from the 64bit options.

the 64bit compiler is not as stable/robust as the 32bit version.  If you ever had to compile anything from source it would be tough to figure out if it was the program source, or the compiler that caused the problem (when there was one).

even on my 64bit capable hardware I run 32bit os, I'll get around to switching it out, but I just dont think its ready for prime time yet.

Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
I'd go with 64bit if you intend to have more than 4GB of RAM in your server ( now or in the future ).
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

32bit linux supports up to 64GB of ram. If You want to have more - choose 64bit.
But there's other issue with ram, on 32bit single process can address only 3GB(4GB with hugemem kernel). Hence I don't think any of Apache, MySQL, PHP can use that much.
More than 3GB per process is usually needed for very large enterprise databases.
Choose CentOS5 32 bit.

The CentOS releases are very robust/stable (as they come directly from Redhat Enterprise)

hankknightAuthor Commented:
Thank you.

CentOS5 32 bit seems to be the consensus.  I will have 4 GB of ram.  When I can afford to I will place my database on a SEPARATE server anyway so I think 4 GB of RAM is all I will need on this system.

I have posted a related question here: (about the hugemem kernel)
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
ravenpl: Correction, Centos 5 uses PAE Kernel instead of Hugemem
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.