RE: [PHP]GD, PHP and Apache troubles
| From: | Kees Hoekzema | Date: | Fri, 19 Jan 2001 16:12:31 +0000 |
| Subject: | RE: [PHP]GD, PHP and Apache troubles | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35635@lists.php.net to get a copy of this message | ||
hello all,
Rasmus, thanx for the advice you gave me :)
I had to alter two of the Makefiles and the libphp4.module file.
but now, finnally, it worked :D
thank you very much,
Kees Hoekzema
kees@tweakers.net
-----Oorspronkelijk bericht-----
Van: Rasmus Lerdorf [mailto:rasmus@php.net]
Verzonden: Thursday, January 18, 2001 7:18 PM
Aan: Kees Hoekzema
CC: php-general@lists.php.net
Onderwerp: Re: [PHP]GD, PHP and Apache troubles
>
gcc -DLINUX=2 -I/root/source/php-4.0.4 -I/root/source/php-4.0.4/main -I/roo
>
t/source/php-4.0.4/main -I/root/source/php-4.0.4/Zend -I/root/source/php-4.0
>
.4/Zend -I/root/source/php-4.0.4/TSRM -I/root/source/php-4.0.4/TSRM -I/root/
> source/php-4.0.4 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED
>
./apaci
> \
> -o httpd buildmark.o modules.o modules/standard/libstandard.a
> modules/php4/libphp4.a main/libmain.a ./os/unix/libos.a ap/libap.a
>
lib/expat-lite/libexpat.a -rdynamic -Lmodules/php4 -L../modules/php4 -L../.
>
./modules/php4 -lmodphp4 -ldl -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -ln
> sl -lresolv -lm -lcrypt
Hrm.. Interesting. -lpng should be listed after -lgd on that link line.
Find your libphp4.module file which PHP copied to your Apache tree and
edit the LIBS line and switch the order of those two. Let me know if that
fixes it.
-Rasmus