I have a FreeBSD 5.4 box running Apache 2.0.54 with PHP 5.0.5 installed. The Apache webserver was running fine without problems. PHP was already installed so I started to configure it (moving and editing php.ini, adding lines to httpd.conf, etc).
The file libphp5.so is located in /usr/local/modules/libphp5.so and Apache has /usr/local as basedir. So I added the line "LoadModule php5_module modules/libphp5.so" to httpd.conf (along with "AddModule mod_php5.c" and the AddType lines).
I now have:
Code:
root@overkill# apachectl configtest
Syntax error on line 239 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/modules/libphp5.so into server: /usr/local/modules/libphp5.so: Undefined symbol "apr_table_set"
I am stuck with this, a google search gave me only a few hits with some german sites which didn't help me much.