Hi,
try to put the AddModule directive after the LoadModule directive.
and put the LoadModule directive where it should be.
Example:
LoadModule foo_module libexec/mod_foo.so
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php
If that doesn't help try to recompile php with
--with-config-file-path=/etc and put php.ini to that directory.
Normally the php.ini file itself should appear at the
Configuration File (php.ini) Path line on the phpinfo() output, e.g.
Configuration File (php.ini) Path /usr/local/apache/conf/php.ini
If it doesn't then apache wasn't able to load it. You might additionally try to change the apache user in httpd.conf from nobody to wwwrun or something like this.