#19240 [Opn->Fbk]: apache functions not defined running as module

From: Date: Thu, 05 Sep 2002 20:15:59 +0000
Subject: #19240 [Opn->Fbk]: apache functions not defined running as module
References: 1  Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-18516@lists.php.net to get a copy of this message
 ID:               19240
 Updated by:       kalowsky@php.net
 Reported By:      screen@brainkrash.com
-Status:           Open
+Status:           Feedback
 Bug Type:         Documentation problem
 Operating System: Win32+Linux
 PHP Version:      4.2.2
 New Comment:

No I ment what documentation page was this in, sorry about that. 


Previous Comments:
------------------------------------------------------------------------

[2002-09-05 15:14:58] screen@brainkrash.com

The functions are in php4/sapi/apache/php_apache.c

------------------------------------------------------------------------

[2002-09-05 15:02:25] kalowsky@php.net

There should be a note on the documentation that says this
functionality didn't exist until version A.B.C

What file was this in that you found the functions?

------------------------------------------------------------------------

[2002-09-04 22:59:10] screen@brainkrash.com

grr. just saw in the newsgroup that apache_response_headers won't be
released until 4.3. Any reason this appears in the current
documentation?? Is there a way to document a functions intended release
version?

------------------------------------------------------------------------

[2002-09-04 22:52:10] screen@brainkrash.com

In attempting to use apache_response_headers i've noticed that in my
current environment (win32 dev, linux prod) not all of the apache
functions are available. 

function exists apache_child_terminate: 1
function exists apache_lookup_uri: 1
function exists apache_note: 1
function exists apache_request_headers: 0
function exists apache_response_headers: 0
function exists apache_setenv: 1
function exists ascii2ebcdic: 0
function exists ebcdic2ascii: 0
function exists getallheaders: 1
function exists virtual: 1

Note only 6 of the 10 functions exist. On windows i'm running as an
asapi module:

LoadModule php4_module c:/apache/php/sapi/php4apache.dll

And on Linux php is compiled with apache:

AddModule mod_php4.c

According to the documentation:

"These functions are only available when running PHP as an Apache
module."




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19240&edit=1



Thread (8 messages)

« previous php.bugs (#18516) next »