build instruction (as apache 1.x shared module):
-
./configure --prefix=/usr/local/php-5.2.10 --with-apxs=/usr/local/apache/bin/apxs --disable-dom --without-pear --without-sqlite --without-pdo-sqlite
- make; make test
- backup /usr/local/apache/libexec/libphp.so
- 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 Mon Oct 26 10:05:45 GMT 2009