0

私は PHP 5.4.13 を再コンパイルしました (これは Mac OS 10.8 に付属の PHP インストールではありません。これは私の Mac で PHP をアップグレードするために行ったビルドです)。 php -m を実行しても表示されず、同じ古いビルドが表示されます。

php -v を実行しても、ビルド日時などの古いビルドの詳細が表示されます。私のmake installが本当にうまくいかなかったことを意味します。しかし、make install を実行してもエラーは発生しません。

私の ./configure コマンドは

./configure 
--prefix=/usr  \
--mandir=/usr/share/man/ \
--infodir=/usr/share/info/ \
--extension-dir=ext \
--enable-dependency-tracking \
--sysconfdir=/private/etc/ \
--with-apxs2=/usr/sbin/apxs  \
--enable-cli \
--with-config-file-path=/etc/ \
--with-libxml \
--with-openssl \
--with-kerberos=/usr/ \
--with-zlib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--disable-cgi \
--with-curl \
--enable-dba \
--enable-ndbm=/usr/ \
--enable-exif \
--enable-fpm \
--enable-ftp \
--with-gd \
--with-freetype-dir=/BinaryCache/apache_mod_php/apache_mod_php-78~13/Root/usr/local \
--with-jpeg-dir=/BinaryCache/apache_mod_php/apache_mod_php-78~13/Root/usr/local \
--with-png-dir=/BinaryCache/apache_mod_php/apache_mod_php-78~13/Root/usr/local \
--enable-gd-native-ttf \
--with-icu-dir=/usr/ \
--with-iodbc=/usr/ \
--with-ldap=/usr/ \
--with-ldap-sasl=/usr/ \
--with-libedit=/usr/ \
--enable-mbstring \
--enable-mbregex \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--without-pear \
--with-pdo-mysql=mysqlnd \
--with-mysql-sock=/var/mysql/mysql.sock \
--with-readline=/usr/ \
--enable-shmop \
--with-snmp=/usr/ \
--enable-soap \
--enable-sockets \
--enable-sqlite-utf8 \
--enable-suhosin \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--with-tidy \
--enable-wddx \
--with-xmlrpc \
--with-iconv-dir=/usr/ \
--with-xsl=/usr/ \
--enable-zend-multibyte \
--enable-zip \
--with-pcre-regex=/usr/ \
--with-pgsql=/usr/ \
--with-pdo-pgsql=/usr/ \
--with-geoip=geoip

そして、これは私の php -m 出力です

 [PHP Modules]
Core
ctype
date
dom
ereg
fileinfo
filter
hash
iconv
json
libxml
pcre
PDO
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter

【ゼンドモジュール】

これはphpが言わなければならないことです、

/opt/local/bin/php

これはwhereis phpが言うことです、

/usr/bin/php

何か案は?

4

0 に答える 0