PHP 4.0 Bug #8477: apache 1.3.12 DSO warning
| From: | fang-pin dot chang at cyberdude dot com | Date: | Fri, 29 Dec 2000 15:53:00 +0000 |
| Subject: | PHP 4.0 Bug #8477: apache 1.3.12 DSO warning | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42521@lists.php.net to get a copy of this message | ||
From: fang-pin.chang@cyberdude.com
Operating system: MacOS X Public Beta
PHP version: 4.0.4
PHP Bug Type: Apache related
Bug description: apache 1.3.12 DSO warning
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!
--
Edit Bug report at: http://bugs.php.net/?id=8477&edit=1