hi guys
i want to install php in linux redhat 7.3
apache_1.3.31
gd-2.0.26
php-4.3.7
i tried thses commands
Install Apache:
./configure --prefix=/var/www --enable-module=so
Install GD library:
./configure --prefix=/var/www/ --enable-FEATURE --with-PACKAGE --with-freetype --with-png
Install PHP:
./configure --with-mysql --with-apxs=/var/www/bin/apxs --with-sybase=$SYBASE/OCS --enable-magic-quotes --with-gd=/var/www/ --with-zlib
make
make install
when i make the PHP it's give me an error
ext/gd/gd.lo: In function zif_imagecolormatch':
gdImageColorMatch'
/install/php-4.3.7/ext/gd/gd.c:802: undefined reference to
ext/gd/gd.lo: In function zif_imagerotate':
gdImageRotate'
/install/php-4.3.7/ext/gd/gd.c:1112: undefined reference to
ext/gd/gd.lo: In function zif_imagecreatefromstring':
gdImageCreateFromGifCtx'
/install/php-4.3.7/ext/gd/gd.c:1336: undefined reference to
ext/gd/gd.lo: In function zif_imagecreatefromgif':
gdImageCreateFromGifCtx'
/install/php-4.3.7/ext/gd/gd.c:1492: undefined reference to
/install/php-4.3.7/ext/gd/gd.c:1492: undefined reference to gdImageCreateFromGif'
zif_imageline':
ext/gd/gd.lo: In function
/install/php-4.3.7/ext/gd/gd.c:2184: undefined reference to gdImageAALine'
zif_imageellipse':
ext/gd/gd.lo: In function
/install/php-4.3.7/ext/gd/gd.c:2317: undefined reference to gdImageEllipse'
_php_image_convert':
ext/gd/gd.lo: In function
/install/php-4.3.7/ext/gd/gd.c:3741: undefined reference to gdImageCreateFromGif'
zif_imageantialias':
ext/gd/gd.lo: In function
/install/php-4.3.7/ext/gd/gd.c:3878: undefined reference to `gdImageAntialias'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
so can anyone give me the best configuration so i can do it