php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23847 ../libphp4.so: invalid ELF header
Submitted: 2003-05-28 05:48 UTC Modified: 2003-05-28 16:51 UTC
From: eddie at rola dot ch Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.2RC4 OS: SuSE Linux Prof. 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eddie at rola dot ch
New email:
PHP Version: OS:

 

 [2003-05-28 05:48 UTC] eddie at rola dot ch
After installing Apache 2.0.46 on the 
Webserver (--enable-so --with-layout=SuSE) and PHP 4.3.2RC4 (--with-apxs2=/usr/sbin/apxs) no warnings or failure messages has benn showed. The Configuration file of Apache had a wrong path of the libphp4.so (LoadModule). After I've changed it the failure message came by starting the webserver (Check Summary). Here the whole message:
Cannot load /usr/lib/libphp4.so into server: invalid EFL header

PS:I had no failure message before (like: cannot find libphp4.so) but the file can't be there [/usr/lib/apache/libphp4.do] because I don't have that file. After all php doesn't work without any failure messages.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-05-28 08:55 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip


And don't try fixing anything in any configure file under the 
php4*/ directory.

I'm 100% sure this is not any bug in PHP though, you're just doing something wrong there. (I just compiled the latest CVS snapshot with apache2 and it worked fine.)

It's propably SuSE again that is broken here.

 [2003-05-28 09:03 UTC] eddie at rola dot ch
I've never changed any configuration file under php4 path. That isn't necessary! I've change the path of the 'LoadModule' in "httpd.conf".
I will try to use the CVS latest version. I hope a developer version can fix it. ;)
 [2003-05-28 09:49 UTC] eddie at rola dot ch
Now failure messages anymore, but PHP still doesn't work.
All my php files are showing the source code.
Did I forgot something?
I thought the configuration settigs would be sufficient:
Apache:
--with-layout=SuSE
--enable-so

PHP:
--with-apxs2=/usr/sbin/apxs

They are, right??
 [2003-05-28 16:51 UTC] sniper@php.net
At the end of conf/httpd.conf, add:

        AddType application/x-httpd-php .php

 [2003-05-28 16:51 UTC] sniper@php.net
And make sure the module is really loaded too.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 13:01:30 2024 UTC