php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15309 Warning for PHP loaded as a module (EAPI)
Submitted: 2002-01-31 03:33 UTC Modified: 2002-02-01 02:26 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: rkdhiman at rediffmail dot com Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.1 OS: Windows NT Server
Private report: No CVE-ID: None
 [2002-01-31 03:33 UTC] rkdhiman at rediffmail dot com
Hi, 

Whan I am trying to load PHP as a module (php4apache.dll), it gives me error at the time of starting Apache Server. Error is like - 

[Thu Jan 31 13:11:11 2002] [warn] 
Loaded DSO D:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this module might crash under EAPI! (please recompile it with -DEAPI)
Apache/1.3.12 (Win32) ApacheJServ/1.1 PHP/4.1.1 mod_ssl/2.6.4 OpenSSL/0.9.5a running...


Although sometime I can see the PHP Pages generated by PHP but some time not. And when I try to stop Apache Web server (loaded with PHP as Apache module dll), everytime it gives me Dr. Watson Error but not in the case of PHP as CGI binary (php.exe).  

I am using these configuration lines to load PHP as module - 
LoadModule php4_module D:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php


It doens't give me the error when I loaded PHP as CGI binary (php.exe)

Hope you will see in this matter. 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-31 05:21 UTC] yohgaki@php.net
This is not a bug.
Your httpd is compiled with mod-ssl but your php module is not compiled with -DEAPI. 
Compile php by yourself or find php compiled with -DAPI somewhere.
 [2002-01-31 22:52 UTC] rkdhiman at rediffmail dot com
Then why I am not getting warning message when I am trying to load PHP as cgi binary ? 

And from where I can get the DAPI compiled PHP ??

Hoping for your favourable responce. 

 [2002-02-01 02:26 UTC] yohgaki@php.net
Oops, s/DAPI/DEAPI/g

Loaded DSO D:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this
module might crash under EAPI! (please recompile it with -DEAPI)

This error will never come from CGI version of PHP.

Please ask support question to php-general@lists.php.net.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 22:01:29 2024 UTC