LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GD with apache2 problem (https://www.linuxquestions.org/questions/linux-software-2/gd-with-apache2-problem-221751/)

rincewind 08-24-2004 10:18 AM

GD with apache2 problem
 
Hello,

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
Code:

apt-get install libgd2
and it installed nicely

then I whent to my unpacked php4.3.5 library
and did a
Code:

~/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:

Quote:

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
Code:

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...=(

Regardz,

-- Rincewind

Creak 08-31-2004 07:57 PM

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...

[LASTPOST]
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...
[/LASTPOST]

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


All times are GMT -5. The time now is 08:00 PM.