On Sat 06 May, 2006 at 22:55:56 +1000, Voytek Eymont wrote:
> 'Your webserver does not support localization. Please instruct your system
> administrator to reconfigure PHP with the gettext option enabled.'
>
> phpinfo says:
> './configure' '--prefix=/usr' '--with-layout=GNU'
> ...
> '--with-gettext=shared'
> ...
>
> # whereis gettext
> gettext: /bin/gettext /usr/bin/gettext /usr/share/gettext
> /usr/share/man/man1/gettext.1.gz /usr/share/man/man3/gettext.3.gz
>
> is it that I have gettext in /usr/bin/gettext and it's expected in
> '/usr/shared' ?
>
> can I symlink it or something ?
PHP has it's own gettext module which it needs to load (like it has a mysql
module and so on...)
I'd imagine your system is in one of the two states:
* It has PHP and the gettext module installed, but it is commented out
in php.ini. To fix, uncomment a line in php.ini that looks like:
extension=php_gettext.dll
* You don't have the gettext module installed, which in this case, you
should use your package manager and install a module named similar to
php-gettext.
After each step, it should then be fixed by restarting the apache process.
- Scott
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html