Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 08-24-2004, 11:18 AM   #1
Registered: Mar 2004
Posts: 32

Rep: Reputation: 15
GD with apache2 problem


Im running Debian with the Apache2 webserver and I'm currently coding a lot of PHP.

I have installed Apaceh2 from a downloaded binary and not through APT..
The same goes to PHP...

Now I have discover that I need the GD lib in my programming.

So what I did was a
apt-get install libgd2
and it installed nicely

then I whent to my unpacked php4.3.5 library
and did a
~/php-4.3.5# ./configure --with-gd --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs
and after a while of configurating I get the following error:

If configure fails try --with-jpeg-dir=<DIR>
configure: error: PNG support requires ZLIB. Use --with-zlib-dir=<DIR>
when I then tried to make a
apt-get install zlib1 zlib1-dev
The OS tells me that theese libs are already installed..

Anyone got any suggestions? Any pointers? Please=)...
Yet I still cannot configure PHP with GD...=(


-- Rincewind
Old 08-31-2004, 08:57 PM   #2
Registered: Feb 2004
Distribution: debian
Posts: 187

Rep: Reputation: 30
Oups, it seems that i've said sh*t because the lib gd has no link with apache but only with php... i'm still trying to make it works...

I have the same problem, except that i've dl Apache2 from the apt-tree... but there is no package in order to configure GD for this Apache...
I've understood how the modules are managed under Apache2, thanks to the /etc/apache2/mods-{available,enabled} directories (BTW it's a really smart idea!).
Maybe a "LoadModule" directive is needed to make this works...

If you find a way to do this, please post it here

Last edited by Creak; 08-31-2004 at 09:27 PM.


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
Apache2 (re)start problem X-DraGoN Debian 1 11-08-2005 04:09 PM
apache2 related problem tenzan Debian 3 07-10-2005 10:34 PM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 12:46 PM
Problem with Apache2 on Fedora 666hellraiser Linux - Networking 3 05-21-2004 07:51 AM
old apache2 problem oleunam Linux - General 2 10-22-2003 09:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:19 AM.

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