This document details basic steps for getting a CentOS server setup. This is based on CentOS 5.
yum install httpd yum install mysql-server yum install php* ...etc...
libphp5.so into a 64-bit apache, and got a pretty cryptic error: wrong ELF class: ELFCLASS32 Once I found a 64-bit libphp5.so, things started working again.