前提条件
EC-CUBEをインストールした際、GDのjpeg supportがenableにならない問題
./configure --prefix=/opt/softwares/php-5.2.13 --disable-debug --with-curl --with-pic --disable-rpath --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-openssl --with-zlib --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-wddx --with-kerberos --enable-ucd-snmp-hack --enable-shmop --enable-calendar --without-mime-magic --without-sqlite --with-libxml-dir=/usr --enable-xml --with-apxs2=/opt/softwares/httpd/bin/apxs --disable-dom --disable-dba --without-unixODBC --disable-pdo --disable-xmlreader --disable-xmlwriter --disable-json --without-pspell --enable-mbstring --with-mysql --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib --with-zlib-dir=/usr/lib
上記のようなconfigureを実行したがダメだった。
php infoにもjpeg supportが出てこない。
調べてみると
http://informationhigh.hida-ch.com/e22229.html
のような記事があった。
どうも、--with-gdの前に--with-jpeg-dirを書かないとダメらしい。
php infoでもjpeg supportが出てきた。
http://kapi.jp/kapi_blog/281
2010年10月08日
関連カテゴリ PHP