Re: Problem installing PHP on Redhat 7.1
| From: | Pierre-Alain Joye | Date: | Wed, 05 Dec 2001 19:15:14 +0000 |
| Subject: | Re: Problem installing PHP on Redhat 7.1 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5208@lists.php.net to get a copy of this message | ||
On Wed, 5 Dec 2001 13:01:50 -0600
"Matt Orlando" <bloodsent@yahoo.com> wrote:
> Greetings:
>
> I am trying to install php on my Redhat 7.1 box, but when I run the
> configure script:
> ./configure --with-mysql=../mysql --with-apxs=/www/apache/bin/apxs --with-zl
> ib=/usr/lib
>
> I get this warning:
> checking for crypt in -lcrypt... yes
>
> Configuring extensions
> checking if the location of ZLIB install directory is defined... no
> checking whether to include ZLIB support... yes
> configure: error: Cannot find libz
if you compile php, you need both includes and lib, usually use /usr as path.
> This is the stuff I have installed:
> zlib-1.1.3-22 (rpm, from install)
Check if the zlib includes are included in /usr/includes. Else install the zlib-dev rpm too.
hth
pa
--
Pierre-Alain Joye
Freelance
Developpements et Services web/intranet
pajoye@tuxfamily.org