Are you *sure* your Apache module and commandline interpreter were both
compiled with the same set of options?  Does a phpinfo() call to the
Apache module indicate that gettext is enabled there?

---
Mark Roedel           | "Blessed is he who has learned to laugh
Systems Programmer    |  at himself, for he shall never cease
LeTourneau University |  to be entertained."
Longview, Texas, USA  |                          -- John Powell


> -----Original Message-----
> From: Dubravko Kakarigi [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, December 09, 2002 1:01 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP 4.2.3, Apache 2.0.40, gettext(), and web don't work
> 
> 
> PHP 4.2.3 compiled with gettext(), with Apache 2.0.40.
> 
> A call to bindtextdomain() when viewed through the web generates
> PHP Fatal error:  Call to undefined function:  bindtextdomain() in ...
> 
> When I run the same script from the command line, as in php 
> -f index.php, it works fine.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to