[PHP-DEV] Can we call Apache 2 API function from a PHP 5 extension module?

2010-01-16 Thread rwe rt
Hi all,I compiled php-5.3.1 with apache 2.2.14 as DSO and wanted to test how to call Apache API fromĀ a PHP module:Run ./ext_skel --extname=helloModified ext/hello.c and the function PHP_FUNCTION(confirm_hello_compiled) so that it contains #include "SAPI.h" #include "httpd.h" #include "http_conf

Re: [PHP-DEV] Can we call Apache 2 API function from a PHP 5 extension module?

2010-01-17 Thread rwe rt
p] Error 1 Thanks for further help,Rwe --- On Sun, 1/17/10, Brian J. France wrote: From: Brian J. France Subject: Re: [PHP-DEV] Can we call Apache 2 API function from a PHP 5 extension module? To: "rwe rt" Cc: internals@lists.php.net Received: Sunday, January 17, 2010, 1:05