ok i've just recompiled apache/mysql/php
and while recompiling php i wanted to add GD support
to add GD support for png and jpeg i used the following configure switches for php, making sure to first
Code:
yum install libpng and libjpeg
don't forget to make clean as below (it resolved my problem from multiple compiles)
Code:
make clean
./configure \--with-apxs=/usr/local/apache/bin/apxs \--with-mysql=/usr/local/mysql \--with-gd \--with-jpeg-dir \--with-png-dir
make
make install
the configuration flags \--with-gd \--with-jpeg-dir=/usr \--with-png-dir=/usr add our GD support for Zenphoto (image gallery software, example here)