Which version of CentOS is best for hosting websites?

Hello,

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)

Thanks!
LVL 16
hankknightAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

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

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
Rance_HallCommented:
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.

0
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 ).
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

ravenplCommented:
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.
0
TintinCommented:
Choose CentOS5 32 bit.

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

0
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)
http://www.experts-exchange.com/OS/Linux/Q_23143199.html
0
Pétur Ingi EgilssonSoftware Engineer -- ConsultantCommented:
ravenpl: Correction, Centos 5 uses PAE Kernel instead of Hugemem
0
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.