我的编译配置:
./configure \
--with-fpm \
--with-libevent=shared,/usr/lib \
--with-mcrypt \
--with-zlib \
--with-curl \
--enable-mbstring \
--with-openssl \
--with-mysql \
--with-mysql-sock \
--with-gd \
--with-jpeg-dir=/usr/lib \
--enable-gd-native-ttf \
--without-sqlite
phpinfo页面输出如下所示
Configuration File (php.ini) Path: /usr/local/lib
Loaded Configuration File: none
而且/ usr / local / lib中没有php.ini。
我的环境:Ubuntu 9.10 64位,nginx 0.8.32