passenger-install-apache2-module
the installer will tell you to install the httpd-devel library via 'yum install httpd-devel'. Trying that just had yum return a 'nothing to do' response because it had decided there wasn't an httpd-devel package to be found. I've had a couple of half-hearted attempts in the past few months trying to find an rpm for httpd-devel to match the version of Apache cPanel currently installs (2.2.9) to no avail for my CentOS box. Today I tried a bit harder while setting up a new server and found the solution! It turns out (thanks to this thread on the cPanel forums) that cPanel excludes all yum packages for httpd to avoid conflicts, although the tools are actually installed when cPanel installs Apache. So they're there, Passenger just doesn't know that. The cPanel thread provided the solution to this problem by basically pointing the Passenger installer at apxs:APXS2=/usr/local/apache/bin/apxs passenger-install-apache2-module
Now the required dependencies checks should pass and hopefully all will be fine. I did however hit one more problem, with a complaint along the lines of