Anybody with GD, ZLIB issues..Please
Hello folks, am using linux 9 php5.1 and apache 2. I was trying to install gd, zlib, png and jpeg on my server that already had php configured and running. Only upgrading with the above S/Ws. When I configured php with
'./configure' '--with-oci8=/opt/oracle/product/9.2.0' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-sigchild' '--with-gd=/root/install/gd-2.0.33' '--with-png=/root/install/libpng-1.2.8' '--with-jpeg=/root/install/jpeg-6b' '--enable-ftp' '--with-libxml2=/usr/local/src/libxml2-2.6.11' '--with-zlib=/root/install/zlib-1.2.3'
command it gave me "configure: error: Cannot find libz" error. It also instructed me to add -dir to the configure line. So I did this
'./configure' '--with-oci8=/opt/oracle/product/9.2.0' '--with-apxs2=/usr/local/apache/bin/apxs' '--enable-sigchild' '--with-gd-dir=/root/install/gd-2.0.33' '--with-png-dir=/root/install/libpng-1.2.8' '--with-jpeg-dir=/root/install/jpeg-6b' '--enable-ftp' '--with-libxml2=/usr/local/src/libxml2-2.6.11' '--with-zlib-dir=/root/install/zlib-1.2.3'
It went through like a charm. But when I did phpinfo(), it did not show me GD and LIBPNG installed. Inspite of no errors getting displayed in my second ./configure, why didnt it configure??? Anybody with some solution.
|