[PHP-DEV] PHP 4.0 Bug #8477: apache 1.3.12 DSO warning From: fang-pin.chang <email protected>
Date: 12/29/00

From: fang-pin.chang <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>