フリータイプのインストールを 2.2.1 から 2.4.9 にアップグレードしようとしています。私はこれを他の3つのサーバーで実行しましたが、問題なくアップグレードされたサーバーは1つだけで、phpは新しいフリータイプを認識しません。私が使用した手順は次のとおりです。
Freetype のインストール: ./configure make && make install
php-5.2.17 を再コンパイルします: ./configure --prefix=/usr/local \ --sysconfdir=/etc \ --localstatedir=/var \ --with-openssl=/usr \ --with-curl=/usr /local/lib \ --enable-sockets \ --enable-track-vars \ --with-oci8=/opt/oracle/product/11.1.0.6/ \ --with-zlib=yes \ --with-apxs2 =/usr/local/apache2/bin/apxs \ --enable-sigchild \ --with-java=/usr/java/jdk1.6.0_21 \ --with-gd \ --with-freetype-dir=/usr /include/freetype2 \ --enable-gd-native-ttf \ --with-ldap
この後、freetype-config --ftversion は 2.4.9 を報告しますが、php -i は 2.2.1 を表示します。問題は freetype ディレクトリにあると思われますが、それは正しいようです。誰にもアイデアはありますか?