php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7321 Apache warning "recompile with -DEAPI"
Submitted: 2000-10-18 16:43 UTC Modified: 2000-10-19 20:27 UTC
From: ctd at naples dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.3 OS: Linux v6
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ctd at naples dot net
New email:
PHP Version: OS:

 

 [2000-10-18 16:43 UTC] ctd at naples dot net
I have one problem I need to resolve which I could not find documented on your site or at apache.org.

I receive a warning when loading libphp4.so as a DSO module.

apachectl configtest
[warn] Loaded DSO modules/libphp4.so uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
Syntax OK                                     

Where is the correct file location or what is the correct command line to recompile php-4.0.3 with the -DEAPI directive?


Thanks for your help

Chris Drever 
Network Engineering Technologies, Inc.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-19 19:42 UTC] sniper@php.net
Please include your configure line into this report.

--Jani
 [2000-10-19 20:27 UTC] rasmus@php.net
You probably installed mod_ssl after compiling PHP.  Or you installed mod_ssl without installing the new apxs.  When you build PHP as a DSO using --with-apxs, PHP asks apxs which compiler flags to use.  On a properly installed Apache server your apxs script should be telling PHP to use -DEAPI.  In your case your installed binary is compiled against EAPI, but at the time you compiled PHP your apxs script did not have the -DEAPI flag in it.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 16:00:02 2026 UTC