Recompile Php56 with Zlib support Help

Status
Not open for further replies.

Tango

Cadet
Joined
Nov 2, 2014
Messages
5
Apparently I have somehow installed php56 without zlib support as I try to run a script and get the following error:
Abort pclzip.lib.php : Missing zlib extensions

I have been trying to do the following (per http://stackoverflow.com/questions/4024181/enabling-zlib-support-in-php):

./configure --with-zlib-dir=/usr
make
install

However doing the <?php phpinfo() ?> script shows that PHP was configured with zlib support and that it is enabled.

Can anyone help me with this?

'./configure'
'--with-layout=GNU'
'--localstatedir=/var'
'--with-config-file-scan-dir=/usr/local/etc/php'
'--disable-all'
'--enable-libxml'
'--enable-mysqlnd'
'--with-libxml-dir=/usr/local'
'--with-pcre-regex=/usr/local'
'--with-zlib-dir=/usr'
--program-prefix='
'--enable-fpm' '--with-fpm-user=www'
'--with-fpm-group=www'
'--with-regex=php'
'--with-zend-vm=CALL'
'--prefix=/usr/local'
'--mandir=/usr/local/man'
'--infodir=/usr/local/info/'
'--build=amd64-portbld-freebsd9.3'
'build_alias=amd64-portbld-freebsd9.3'
'CC=cc'
'CFLAGS=-O2 '-pipe'
'-fstack-protector'
'-fno-strict-aliasing''
'LDFLAGS= '-fstack-protector''
'LIBS=-lpthread'
'CPPFLAGS='
'CPP=cpp'
'CXX=c++'
'CXXFLAGS=-O2 '-pipe'
'-fstack-protector'
'-fno-strict-aliasing''
 
Status
Not open for further replies.
Top