#22180 [Opn->Fbk]: Apache2.0 : libphp4.so: cannot dynamically load executable

From: Date: Wed, 12 Feb 2003 03:38:22 +0000
Subject: #22180 [Opn->Fbk]: Apache2.0 : libphp4.so: cannot dynamically load executable
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32861@lists.php.net to get a copy of this message
ID: 22180 Updated by: sniper@php.net Reported By: admin@bestfuture.org -Status: Open +Status: Feedback -Bug Type: Dynamic loading +Bug Type: Apache2 related Operating System: Suse PHP Version: 4.3.0 New Comment: First of all, use correct configure line: # rm config.cache # ./configure --with-zlib=/usr --with-xml --with-mysql=/usr --with-apx2=/usr/local/apache2/bin/apxs --enable-debug # make clean # make # make install And 'make libs/libphp4.bundle' is NOT meant for Linux, it's for MacosX only! Try the above procdure and if that fails to install the libphp4.so, we need to figure out why. (get the latest STABLE snapshot first!) Previous Comments: ------------------------------------------------------------------------ [2003-02-11 20:53:48] admin@bestfuture.org Installing PHP 4.3.0 on httpd 2.0.40. Using php4-200302091030 snapshot. Configuring PHP4 : ./configure --with-zlibs=/usr --with-xml --enable-shared=all --with-mysql=/usr --with-apx2=/usr/local/apache2/bin/apxs --with-apache2=/usr/local/apache2 --enable-debug Config.log : http://www.bestfuture.org/php_config.log Note : to create libs/libphp4.so I have to run "make libs/libphp4.bundle" ("make" does not create it for some reason) Installing Apache2 : ./configure --enable-ssl --enable-so --enable-modules=most /usr/local/apache2/conf/httpd.conf contains : LoadModule php4_module /usr/local/apache2/modules/libphp4.so Run : /usr/local/apache2/bin/apachectl -f /usr/local/apache2/conf/httpd.conf -k graceful Result : Syntax error on line 231 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: cannot dynamically load executable ldd -d libs/libphp4.so libmysqlclient.so.10 => /usr/lib/libmysqlclient.so.10 (0x40018000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40048000) libresolv.so.2 => /lib/libresolv.so.2 (0x4007a000) libm.so.6 => /lib/libm.so.6 (0x4008b000) libdl.so.2 => /lib/libdl.so.2 (0x400ae000) libnsl.so.1 => /lib/libnsl.so.1 (0x400b1000) libc.so.6 => /lib/libc.so.6 (0x400c6000) libz.so.1 => /lib/libz.so.1 (0x401e6000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) What am I doing wrong ? What else do I need to send so you guys would be able to help me ? Have already done a huge research on the Internet (google, bugs.php.net, other php sites including lots of confs). Thanks in advance. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22180&edit=1

« previous php.bugs (#32861) next »