Help ! Apache update Failed

Server has CentOS release 4.5 (Final) and php4.4.7 installed. While doing Apache Update , it failed with the following messages :-

Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libmcrypt.so.4: cannot open shared object file: No such file or directory
make[2]: *** [install-binSCRIPTS] Error 126
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1
configure: error: Sorry, I was not able to diagnose which libmcrypt version you have installed.

And errors while starting httpd are :-

service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: libmcrypt.so.4: cannot open shared object file: No such file or directory
/etc/init.d/httpd restart: httpd could not be started

Tried upcp as well as apache update 2 times but failed with same error