while I compile php 5.5.10 many times, but still I cannot get support for webp support, which is described by " http://cn2.php.net/manual/zh/function.imagewebp.php ". here is my compilation setting:
CentOS release 5.8 (Final) x86_64
freetype-2.4.6
jpeg-8c
libpng-1.2.35
gd-2.1.0
php compilation command
./configure --prefix=/apps/lib/php-5.5.10 --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-mysqlnd --enable-fpm --enable-mbstring --enable-mbregex --with-zlib-dir=/apps/lib/zlib --enable-pcntl --enable-sockets --enable-ftp --enable-soap --enable-bcmath --disable-debug --enable-sockets --enable-inline-optimization --disable-rpath --with-mysql=/apps/svr/mysql5 --with-libxml-dir=/apps/lib/libxml --with-jpeg-dir=/apps/lib/jpeg --with-iconv-dir=/apps/lib/libiconv --with-mcrypt=/apps/lib/libmcrypt --with-freetype-dir=/apps/lib/freetype --with-gd=/apps/lib/gd-2.1.0 --with-openssl-dir=/apps/lib/openssl --with-openssl=/apps/lib/openssl --with-curl=/apps/lib/curl --with-png-dir=/apps/lib/libpng --enable-opcache=no
and finally get this output for gd
gd
GD Support => enabled
GD Version => 2.1.0-alpha
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.4.6
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 8
PNG Support => enabled
libPNG Version => 1.2.35
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled
while I follow the steps http://techglimpse.com/install-upgrade-php55-yum/ 'to install php 5.5.9 using remi.repo, I finally get a success signal from this output for gd
gd
GD Support => enabled
GD Version => 2.1.0
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.2.1
T1Lib Support => enabled
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 6b
PNG Support => enabled
libPNG Version => 1.2.10
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled
WebP Support => enabled
For the system administrator, I need to deploy php with a compilation version. Did I miss something important by compiling php or lib gd ?