I just upgraded to Apache 2.0.47 today, from 2.0.46. Now when I try to load PHP:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .phtml .php
It gives the error:
Syntax error on line 234 of /etc/apache2/httpd.conf:
Cannot load /usr/modules/libphp4.so into server: cannot create object file image or add library
Had no problem with 2.0.46. Here is how I have Apache and PHP configured:
Apache: ./configure --enable-layout=Darwin
PHP: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --prefix=/usr