LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-21-2006, 03:42 AM   #1
rajnair0278
Member
 
Registered: Mar 2006
Posts: 62

Rep: Reputation: 15
Angry 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.
 
Old 04-21-2006, 07:58 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,157
Blog Entries: 1

Rep: Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021Reputation: 2021
Did you restart apache after recompiling php? Also clear your browser's cache because the results could be cached. Or run from command line:
Code:
php -i
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
zlib error jurp5 Linux From Scratch 2 12-21-2005 05:33 PM
zlib m2azer Linux - Newbie 1 09-16-2005 04:07 PM
zlib ?! D3javu Linux - Newbie 1 04-05-2005 05:39 AM
zlib installation issues Robin01 Linux - Software 1 09-25-2004 07:45 PM
zlib installation Canadian_2k2 Linux - Software 0 01-06-2003 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration