PHP 4.0 Bug #5551: Apache fails start -- libphp4.so is garbled
| From: | johncov at worldnet dot att dot net | Date: | Thu, 13 Jul 2000 14:08:23 +0000 |
| Subject: | PHP 4.0 Bug #5551: Apache fails start -- libphp4.so is garbled | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24306@lists.php.net to get a copy of this message | ||
From: johncov@worldnet.att.net
Operating system: FreeBSD 3.4 Stable
PHP version: 4.0.0
PHP Bug Type: Dynamic loading related
Bug description: Apache fails start -- libphp4.so is garbled
apache 1.3.12
mod_perl 1.24
php 4.4.0
installed mod perl:
perl Makefile.PL APACHE_SRC=../apache_1.3.12/ \
DO_HTTPD=1 USE_APACI=1 \
EVERYTHING=1
installed apache:
./configure --prefix=/path/to/apache \
--activate-module=src/modules/perl/libperl.a \
--enable-shared=max
make
make install
installed php4:
./configure --with-mysql --with-apxs=path/to/apxs
make
make install
everything succeeds.
On apachectl start:
Syntax error on line 238 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file /usr/local/apache/libexec/libphp4.so is garbled -
perhaps this is not an Apache module DSO?