Subject: php5 + apache1 or 2
To: None <>
From: Nikolas Hagelstein <>
List: tech-pkg
Date: 10/06/2005 20:32:01
hi there,

does anyone managed to build php5 (5.0.5) from pgksrc as module in
with apache(2.0.54 or 1.3.33).

i tried the following without any success:

-fetched/installed the latest apache version via pkg_add
-Modified the Makefile.php of php5 to enable DSO build
(--with-apxs=/usr/pkg/sbin/apxs or --with-apxs2=/usr/pkg/sbin/apxs)
-did 'make'

The compiler aborded claiming about a missing "httpd.h" while compiling
httpd.h is located in /usr/pkg/include/httpd and -I/usr/pkg/include/httpd
is part of the gcc commandline string.

I also tried to build it via ap-php ending up as discribed above :|

Any ideas?