Problem running php under Apache/Solaris
| From: | Uwe Lammers | Date: | Tue, 10 Apr 2001 15:56:31 +0000 |
| Subject: | Problem running php under Apache/Solaris | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-2735@lists.php.net to get a copy of this message | ||
Hi,
I am having trouble getting php-4.0.4pl1 working with apache-1.3.19
under Solaris 2.6 as a DSO. The compilation/installation of
apache/php all seems to have gone fine - no compilation or linking
problems and in /usr/local/apache/libexec I see:
-rw-r--r-- 1 root other 7449 Apr 10 14:42 httpd.exp
-rwxr-xr-x 1 root other 3000202 Apr 10 16:16 libphp4.so
and /usr/local/apache/conf/http.conf has:
...
LoadModule php4_module libexec/libphp4.so
...
However when I try to start the httpd I get:
[bin] /usr/local/apache/bin/apachectl start
Syntax error on line 206 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced
symbol
not found
/usr/local/apache/bin/apachectl start: httpd could not be started
ap_block_alarms seem to be a symbol defined in the httpd executable.
Who knows what is going on here? Any help greatly appreciated.
Uwe.