Sounds like you didn't, in fact, install all the packages. Do "rpm -q mod_php-mysql". If it reports (as I'm sure it will) that mod_php-mysql is not installed, download and install it. At the same time, make sure that mod_php-imap and mod_php-ldap are also installed.