아래 옵션으로 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/
그렇지 않나요?