#38668 [Opn->Bgs]: Call to undefined function: bindtextdomain()
| From: | tony2001@php.net | Date: | Thu, 31 Aug 2006 10:10:23 +0000 |
| Subject: | #38668 [Opn->Bgs]: Call to undefined function: bindtextdomain() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101564@lists.php.net to get a copy of this message | ||
ID: 38668
Updated by: tony2001@php.net
Reported By: alti at ip-label dot net
-Status: Open
+Status: Bogus
Bug Type: Gettext related
Operating System: windows XP pro
PHP Version: 4.4.4
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-08-31 10:03:24] alti at ip-label dot net
Description:
------------
I need gettext module with apache2 and windows for php4.4.4.
So I have the php_gettext.dll (and also libintl-1.dll and iconv.dll) in
the dlls directory.
In my php.ini I have extension=php_gettext.dll
but each time I have Call to undefined function: Bindtextdomain()
Reproduce code:
---------------
<?php
@setlocale("LC_ALL", "en_en");
putenv('LANGUAGE=en_en');
bindtextdomain ("Mydomain","./translation");
textdomain ('Mydomain');
echo gettext("ceci est un test");
?>
Expected result:
----------------
Display some text : "this is a test"
Actual result:
--------------
Fatal error: Call to undefined function: bindtextdomain() in......
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38668&edit=1