checking if the location of ZLIB install directory is defined... /usr/local/lib
checking for gzgets in -lz... no
configure: error: ZLIB extension requires zlib >= 1.0.9
*** There was an error while trying to configure php. Check the configure.php file
from configure.php:
--with-zlib \
--with-zlib-dir=/usr/local/lib \
from phpinfo():
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.1.4
Flawless install on FreeBSD 6.0-P2 with Apache 2.0.55. Didn't use the "n" or "y" option and manually selected "y" for everything to pause the build process inbetween as it was suggested that overheating may be a problem.
I did encounter one 'problem' (not related to the upgrade, but the problem didn't show somehow with my previous install): PhpMyAdmin complaints that it can't find the mbstring extension. To solve this i did:
vi configure.php_ap2 --enable-mbstring
./build clean
./build php_ap2 n
It's the 5.x version of DA running on 6.x; even though i didn't install compat manually - it's nowhere in my rc.conf and pkg_info doesn't show it either - i suspect it's using it somewhere as 5.x binaries run fine.
it is best to shut down apache whilst the build is running sometimes especially if a different version of php to the one running apache will start locking up and saturating cpu with the build going making it slowdown.
if I want to add support for PostgreSQL through upgrade, can I do it by modifying /usr/local/directadmin/customapache/configure.php to add '--with-pgsql' ?