Getting PHP to compile with GD support

chris (2002-10-30 22:56:03)
1118 views
0 replies
I just had an interesting time trying to build PHP with GD support on a friend's machine

Working with i386-redhat-linux-gnu and Apache/1.3.26 (Unix), I found that the following configuration directives would die with an error in php_gd.lib:

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars --enable-exif --with-gd=../gd-1.8.3 --with-jpeg-dir=../jpeg-6b/ --with-png-dir=../libpng-1.2.4 --with-zlib-dir=../zlib-1.1.4

I tried compiling with different versions of GD, but eventually the only solution was to drop from php-4.2.3 to php-4.2.2. The sources appear to be somewhat more stable.

The compilation of an earlier version went just fine and php now lives with GD support as required.

Digg it! Submit to Slashdot Add to Blinklist Del.icio.us Add to Newsvine Add to Technorati Add it to Google Bookmarks Add to Magnolia
reply