build instruction (as apache 1.x shared module):
- export LDFLAGS=-lm
-
./configure --prefix=/usr/local/php-5.2.5 --with-apxs=/usr/local/apache/bin/apxs --disable-xml --disable-libxml --disable-simplexml --disable-xmlreader --disable-xmlwriter --disable-dom --without-pear --without-sqlite --without-pdo-sqlite
- make
- make test
- make install
-
in the case of virtual hosts, make sure that include_path in php.ini
contains all the places php pages are served from.
If libphp*.so, being loaded under apache1 complains about "unresolved symbols ap_*",
compile apache with --enable-rule=SHARED_CORE option (observed on FreeBSD).
created Oct 13 2006
last updated Wed Apr 23 01:53:31 GMT 2008