I have a centos 7 server and need multiple versions of PHP. I am compiling PHP 5.6 and the php application needs to support GD Jpeg. I have the following error. Code: ./configure --prefix=/opt/php-5.6.28 .... --with-freetype-dir --with-freetype-dir --with-gd --enable-gd-native-ttf --with-png-dir --with-jpeg-dir=/usr/local/lib/ --with-jpeg-dir=/usr/local/lib/ or /usr or /usr/lib64.. Output: checking for GD support... yes checking for the location of libvpx... no checking for the location of libjpeg... /usr/local/lib/ checking for the location of libpng... yes checking for the location of libXpm... no checking for FreeType 2... yes Installed: yum install libjpeg-devel gd - OK Return: PHP gd JPEG image support missing. Find Lib: /usr/libjpeg.so /usr/local/lib/libjpeg.so /usr/lib64/libjpeg.so /usr/lib/libjpeg.so Does anyone know if any library is missing to install or make a somber link? Thank you.
Hello guys. I solved using the Remi repository. wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm