From: jmurtari at thebook dot com Operating system: RHEL 4 / Linux 2.6.9 PHP version: 4.4.6 PHP Bug Type: Apache related Bug description: Apache 1.3.37 apxs fails with libphp4.so is garbled
Description: ------------ Folks, Was able to do good source build of Apache 1.3.37 and PHP 4.4.6; however, when starting Apache get: "API module structure `php4_module' in file /usr/local/etc/httpd/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO?" We are running RHEL 4 Linux and have pretty standard procedures we do to build. Last time it worked was Apache 1.3.34 and PHP 4.4.1 Saw some similiar bugs, we did make clean, make distclean for both - no difference. Reproduce code: --------------- Excerpts from our configure options for both PHP and APACHE. For apache: ./configure --with-layout=Apache --prefix=/usr/local/etc/httpd --enable-suexec ... some deleted... --disable-module=asis --enable-shared=max --enable-rule=SHARED_CORE --enable-module=so For php: CPPFLAGS="-DLINUX=22 -DEAPI" \ ./configure \ --enable-static \ --disable-shared \ --with-config-file-path=/usr/local/etc/httpd/conf \ --with-apxs=/usr/local/etc/httpd/bin/apxs \ ... some deleted. --enable-mbstring=all \ --with-mhash=/export/tools/apache/php/ext/mhash Expected result: ---------------- We suspect a problem with apxs, but RedHat does not supply a version for Apache 1.3.x, they have a httpd-devel package which has it for Apache 2.x Our RHEL servers do NOT have any of the RedHat Apache or PHP packages installed. We always 'try' to build from source. If someone needs access to a RHEL 4 server to duplicate we can supply. Actual result: -------------- Would like apache to start! -- Edit bug report at http://bugs.php.net/?id=41203&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41203&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41203&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41203&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41203&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41203&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41203&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41203&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41203&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41203&r=support Expected behavior: http://bugs.php.net/fix.php?id=41203&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41203&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41203&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41203&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41203&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41203&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41203&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41203&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41203&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41203&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41203&r=mysqlcfg
