Edit report at http://bugs.php.net/bug.php?id=52993&edit=1
ID: 52993 Comment by: uramihsayibok at gmail dot com Reported by: klus dot vit at gmail dot com Summary: error while loading configured libphp5.so Status: Open Type: Bug Package: Other web server Operating System: openSUSE 11.3 (x86_64) PHP Version: 5.3.3 Block user comment: N New Comment: You sure you have a 64-bit Apache? Compare the output of $ file /opt/IBM/HTTPServer/modules/libphp5.so with what `file -L` says on your Apache binary (check /usr/sbin/apache or apache2 or httpd) Previous Comments: ------------------------------------------------------------------------ [2010-10-05 16:00:38] klus dot vit at gmail dot com Description: ------------ I've configured php for the IBM HTTP Server v7.0.0 on a 64bit openSUSE 11.3 (x86_64) by the configure string: ./configure --with-ibm-db2=/opt/ibm/db2/V9.7 --with- apxs2=/opt/IBM/HTTPServer/bin/apxs --with-freetype- dir=/usr/include/freetype2/freetype --without-mysql --with-gd=/usr/ --with-png- dir=/usr/lib --with-zlib-dir=/usr/lib --disable-cli --with-config-file- path=/usr/local/lib --with-ldap --with-pear --with-openssl After executing "apacheclt start" I got the message: httpd: Syntax error on line 163 of /opt/IBM/HTTPServer/conf/httpd.conf: Cannot load /opt/IBM/HTTPServer/modules/libphp5.so into server: /opt/IBM/HTTPServer/modules/libphp5.so: wrong ELF class: ELFCLASS64 I can't change the gcc on this server. What is needed to compile libphp5.so properly for this system? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52993&edit=1