| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
  [2007-06-04 12:45 UTC] webtech at get-telecom dot fr
 Description: ------------ I tried the latest version 5.2.3 on Solaris 10(AMD64) as a module on Apache 2.0.59. After the compilation, and installation, I've tried to restart Apache and I have this error message : Syntax error on line 232 of /www/apache-2.0.59/conf/httpd.conf: Cannot load /www/apache2/modules/libphp5.so into server: ld.so.1: httpd: fatal: /usr/lib/libmtmalloc.so.1: wrong ELF class: ELFCLASS32 For info, everything's ok with PHP 5.2.2. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 04:00:01 2025 UTC | 
I've found a solution : Add these two lines : LD_PRELOAD=/usr/lib/64/libmtmalloc.so.1 export LD_PRELOAD in [APACHE_HOME]/bin/envvars Hope it'll help.