linux php扩展安装gettext模块
[root@3350 lnampsoft]# cd php-5.3.6
[root@3350 php-5.3.6]# cd ext/
[root@3350 ext]# cd gettext/
[root@3350 gettext]# pwd
/usr/local/src/lnampsoft/php-5.3.6/ext/gettext
[root@3350 gettext]# /usr/local/webserver/php/bin/phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
[root@3350 gettext]# ./configure --with-php-config=/usr/local/webserver/php/bin/php-config --with-gettext
[root@3350 gettext]# make && make install
[root@3350 etc]# vim php.ini 添加如下内容
extension_dir=/usr/local/webserver/php/lib/php/extensions/no-debug-non-zts-20090626/
extension=gettext.so
[root@3350 etc]# /etc/init.d/httpd restart