links - php [links - soft] [links] [home] [search

build instruction (as apache 1.x shared module):
  1. export LDFLAGS=-lm
  2. ./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
  3. make
  4. make test
  5. make install
  6. 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