To include GNU gettext support in your PHP build you must add the option --with-gettext[=DIR] where DIR is the gettext install directory, defaults to /usr/local.
Anonymous (2010-11-22 04:59:10)
Linux users that compile PHP --with-gettext=shared should include
extension=gettext.so
in your /etc/php.ini
windowsuser at example dot com (2008-09-19 00:35:25)
Windows users have to add php_gettext.dll to their extensions directory, and enable it in their php.ini file.