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@xxxxxxxxxxx> wrote in message
news:OF9521F6EF.3054F224-ON85257290.0061D4E9-85257290.00624E91@xxxxxxxxxxxxxx
>
> 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
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]