PHP 4.0 Bug #7321 Updated: Apache warning "recompile with -DEAPI"
| From: | rasmus@php.net | Date: | Fri, 20 Oct 2000 00:27:37 +0000 |
| Subject: | PHP 4.0 Bug #7321 Updated: Apache warning "recompile with -DEAPI" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35603@lists.php.net to get a copy of this message | ||
ID: 7321
Updated by: rasmus
Reported By: ctd@naples.net
Status: Closed
Bug Type: Compile Problem
Assigned To:
Comments:
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.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-19 19:42:45] sniper@php.net
Please include your configure line into this report.
--Jani
---------------------------------------------------------------------------
[2000-10-18 16:43:36] ctd@naples.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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7321