Configure php with Zlib in Debian Lenny 5.0

Discussion in 'Installation/Configuration' started by mike_phi, Aug 23, 2010.

  1. mike_phi

    mike_phi New Member

    I need to ensure that PHP is compiled with zlib

    with which option would I use the php configure script

    <php-x-x-dir>/configure --with-zlib


    <php-x-x-dir>/configure --with-zlib-dir=/usr

    before compiling what apt-get install commands do I need to perform to ensure I have zlib on my system as I am not to sure as to which library to use I was thinking of using the following please confirm if this is correct.

    apt-get install zlib1g-dbg zlib1g zlib1g-dev

    Regards Mic

Share This Page