From: alti at ip-label dot net Operating system: windows XP pro PHP version: 4.4.4 PHP Bug Type: Gettext related Bug description: Call to undefined function: bindtextdomain()
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 bug report at http://bugs.php.net/?id=38668&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38668&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38668&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38668&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38668&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38668&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38668&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38668&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38668&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38668&r=support Expected behavior: http://bugs.php.net/fix.php?id=38668&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38668&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38668&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38668&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38668&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38668&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38668&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38668&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38668&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38668&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38668&r=mysqlcfg