php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8477 apache 1.3.12 DSO warning
Submitted: 2000-12-29 10:53 UTC Modified: 2001-05-27 21:56 UTC
From: fang-pin dot chang at cyberdude dot com Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.4 OS: MacOS X Public Beta
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: fang-pin dot chang at cyberdude dot com
New email:
PHP Version: OS:

 

 [2000-12-29 10:53 UTC] fang-pin dot chang at cyberdude dot com
I did a

    ./configure --with-apxs --with-mysql

and then a

    make install

All seems fine, except when I did a apachectl start, 
apache comlains of the following:

[Fri Dec 29 07:27:43 2000] [warn] Loaded DSO /
System/Library/Apache/Modules/libphp4.so uses plain 
Apache 1.3 API, this module might crash under EAPI! 
(please recompile it with -DEAPI)
/usr/sbin/apachectl start: httpd started

However, the warning is not produced if I take the '--
with-mysql' out of the ./configure command line.

I then looked up EAPI in the bugs database, and found 
#3918 where the use of

    '--enable-rule=EAPI'

was mentioned.  So I did the same, and found as the 
reporter did, that -DEAPI line was not produced while 
compiling, which resulted in the same warning as 
before.  I must say, though, that ./configure --help did 
not reveal that particular option.

Then bug #3583 revealed that a manual hack of the 
configure script worked for the reporter.  So I appended 
-DEAPI to CPPFLAGS for the darwin platform, and 
verified that the -DEAPI is being included in all compile 
(and link) lines.  However, the same warning still 
occurs whenever I do a

    apachectl start

Please advise.  Thanks!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-27 21:56 UTC] sniper@php.net
the apxs program that is found by configure is different
than the one your installed apache has. Not a bug. 
Try adding the full path to the correct apxs.
like this: --with-apxs=/www/apache/bin/apxs

--Jani


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 09:01:29 2024 UTC