Cannot load libphp4.so : undefined symbol: ap_block_alarms
| From: | NewsServer | Date: | Thu, 19 Sep 2002 16:39:44 +0000 |
| Subject: | Cannot load libphp4.so : undefined symbol: ap_block_alarms | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8504@lists.php.net to get a copy of this message | ||
Hello,
I am trying to get PHP-4.2.3 to work with Apache-2.0.40.... it seems I am
not the only one to be struggling with this
I have managed to follow the instructions on the php.net web site so far, I
ran
./configure --prefix=/net --enable-module=so
make
make install
to install apache, and it all works fine.
I then continued to add php
cd ../php-4.2.3
./configure --with-mysql --with-apxs2=/net/bin/apxs
make
make install
and this also completed without error, however libphp4.so is not in the
default libexec as the instructions said, I found it in /usr/lib/apache/ so
I added to httpd.conf
LoadModule php4_module /usr/lib/apache/libphp4.so
As I ran into trouble I have also added
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
Now I am completely lost and restarting httpd returns the error:-
Syntax error on line 232 of /net/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so: undefined symbol: ap_block_alarms
[ line 232 is:- LoadModule php4_module /usr/lib/apache/libphp4.so ]
Help !