Home > Archive > PHP Installation > March 2007 > recompile --with-zlib error
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
recompile --with-zlib error
|
|
| MHumphries@delcomp.net 2007-02-28, 7:01 pm |
|
i have php 5.2.1 and apache2.2 installed on RedHat EL4
i compile with the frollowing and everything works great:
../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
--with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/lib
if i recompile with
../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
--with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/lib --with-zlib
all php pages on the server come up garbled. i ran make and make install and libtool
--finish /opt/php-5.2.1/libs
however i did not copy a new copy of the php.ini file over as i have tweaked the orig. and
do not want to have to retweak it. however if this is the problem then i can make the
changes.
any help would be great. thanks
Michael J. Humphries
Network Engineer
Delcomp/SOFTEK
1431 N. 26th Street
Escanaba, MI 49829
Phone: 906-786-3583, ext 39
Fax: 906-786-4300
| |
| Haydar Tuna 2007-03-13, 7:01 pm |
| Hello,
Firstly, downlaod zlib tar.gz package from www.zlib.net web address
and then install it with --prefix=/usr/local option. After this, you can
install PHP tar.gz source package following options. Your problem will be
solved:)
../configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql \
--with-gd \
--with-zlib=/usr/local \
--with-png-dir=/usr/local/lib \
--with-jpeg-dir=/usr/lib
--
Haydar TUNA
Republic Of Turkey - Ministry of National Education
Education Technology Department Ankara / TURKEY
Web: http://www.haydartuna.net
<MHumphries@delcomp.net> wrote in message
news:OF9521F6EF.3054F224-ON85257290.0061D4E9-85257290.00624E91@delcomp.net...
>
> i have php 5.2.1 and apache2.2 installed on RedHat EL4
> i compile with the frollowing and everything works great:
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
> --with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/lib
>
> if i recompile with
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-gd
> --with-png-dir=/usr/local/lib --with-jpeg-dir=/usr/lib --with-zlib
>
> all php pages on the server come up garbled. i ran make and make install
> and libtool
> --finish /opt/php-5.2.1/libs
> however i did not copy a new copy of the php.ini file over as i have
> tweaked the orig. and
> do not want to have to retweak it. however if this is the problem then i
> can make the
> changes.
>
> any help would be great. thanks
>
> Michael J. Humphries
> Network Engineer
> Delcomp/SOFTEK
> 1431 N. 26th Street
> Escanaba, MI 49829
> Phone: 906-786-3583, ext 39
> Fax: 906-786-4300
| |
|
|
|
|
|
|
|