You can check to see if the httpd binary is linking to the proper ssl and/or zlib libs with...
Otherwise, check if httpd/modules/mod_ssl.so exists.
Personally, I would just install whatever Apache, PHP, etc, packages you need with yum or apt. It works out better in the long run [over doing this from source].