此次安装是动态安装php的gettext扩展模块 在php的源文件中,进入ext/gettext

cd ext/gettext

/usr/local/php/bin/phpize

./configur –with-php-config=/usr/local/php/bin/php-config

make && make install 重起apache

apachectl stop

apachectl start