ID: 41203 Updated by: [EMAIL PROTECTED] Reported By: jmurtari at thebook dot com -Status: Open +Status: Bogus Bug Type: Apache related Operating System: RHEL 4 / Linux 2.6.9 PHP Version: 4.4.6 New Comment:
>We suspect a problem with apxs Then report it to Apache people, please. Previous Comments: ------------------------------------------------------------------------ [2007-04-26 14:05:11] jmurtari at thebook dot com 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 this bug report at http://bugs.php.net/?id=41203&edit=1
