From: david at ols dot es
Operating system: Debian
PHP version: 4.4.6
PHP Bug Type: Apache2 related
Bug description: undefined symbol: ap_hook_pre_config
Description:
------------
Cannot load php4 module in Apache 2.2.4
Reproduce code:
---------------
./configure --prefix=/usr/local/apache2 \
--disable-include --disable-actions --disable-asis \
--disable-cgi --enable-deflate --enable-expires \
--enable-headers --enable-info --enable-rewrite \
--enable-so --enable-ssl --enable-usertrack \
--with-mpm=prefork --with-included-apr
./configure --with-mysql \
--with-apxs2=/usr/local/apache/bin/apxs \
--enable-track-vars --enable-versioning \
--enable-sockets --enable-dbase \
--enable-exif --with-mm --with-iconv \
--with-png-dir --enable-ftp \
--with-xml --with-dbase --with-ftp --with-gdbm \
--with-imap-ssl=$(IMAP) -with-gd \
--with-zlib=/usr --with-mime-magic \
--with-curl=/usr/local --with-openssl \
--with-pcre --with-mcrypt --disable-cgi \
--enable-gd-native-ttf --enable-mbstring \
--enable-inline-optimization \
--disable-debug --disable-display-source \
--enable-memory-limit --with-jpeg-dir --with-tiff-dir \
--without-pear --with-dom
this is very similar to those 'bugs':
http://bugs.php.net/bug.php?id=24199
i know this is has not been cosidered as a real bug, but i did not found
anything helpful in any php or apache support site (even using google)
Expected result:
----------------
apache succesfully loads php module
Actual result:
--------------
httpd: Syntax error on line 9 of /usr/local/apache/conf/httpd.conf: Cannot
load /usr/local/apache/modules/libphp4.so into server:
/usr/local/apache/modules/libphp4.so: undefined symbol: ap_hook_pre_config
--
Edit bug report at http://bugs.php.net/?id=41079&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=41079&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=41079&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=41079&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41079&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=41079&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41079&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41079&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41079&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41079&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41079&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=41079&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=41079&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41079&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41079&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41079&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41079&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41079&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41079&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41079&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41079&r=mysqlcfg