php 支援 jpeg

php 支援 jpeg

我已經使用以下選項遵守了 php

'./configure' '--with-config-file-path=/opt/apache/php/etc' '--with-config-file-scan-dir=/opt/apache/php/etc/php.d' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-shmop' '--enable-soap' '--enable-bcmath' '--disable-debug' '--enable-ftp' '--with-curl=/usr/include' '--with-regex=system' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstring' '--enable-wddx=shared' '--enable-xml' '--with-gd' '--with-gettext' '--with-mysql' '--with-zlib-dir=/usr/local/lib' '--enable-mbstring' '--prefix=/opt/apache/php' '--with-apxs2=/opt/apache/bin/apxs' '--with-zlib' '--with-openssl' '--with-freetype-dir=/usr/include/freetype2/freetype--with-jpeg-dir=/usr/lib/' 

但我沒有 jpeg 支援。

我錯過了什麼嗎?

libjpeg 和 libjpeg-devel 已安裝

謝謝

答案1

--with-freetype-dir=/usr/include/freetype2/freetype--with-jpeg-dir=/usr/lib/

之間沒有空格

--with-freetype-dir=/usr/include/freetype2/freetype

--with-jpeg-dir=/usr/lib/

不是嗎?

相關內容