安装

在构建PHP的时候要添加 GNU gettext 支持,你必须添加如下选项 --with-gettext[=DIR] DIR 表示 gettext 的安装目录,默认是/usr/local.

add a note add a note

User Contributed Notes 3 notes

up
0
jefferytutorials at gmail dot com
8 years ago
for wamp/xampp users check if "php_gettext" extension is activated.
up
-3
Anonymous
14 years ago
Linux users that compile PHP --with-gettext=shared should include
extension=gettext.so

in your /etc/php.ini
up
-24
windowsuser at example dot com
16 years ago
Windows users have to add php_gettext.dll to their extensions directory, and enable it in their php.ini file.
To Top