RE: [PHP] PHP 4.2.3, Apache 2.0.40, gettext(), and web don't work
| From: | Roedel, Mark | Date: | Mon, 09 Dec 2002 19:51:43 +0000 |
| Subject: | RE: [PHP] PHP 4.2.3, Apache 2.0.40, gettext(), and web don't work | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127540@lists.php.net to get a copy of this message | ||
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:dubravko@kakarigi.net]
> Sent: Monday, December 09, 2002 1:01 PM
> To: php-general@lists.php.net
> 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.