ID:               29264
 Updated by:       [EMAIL PROTECTED]
 Reported By:      borreo at softhome dot net
-Status:           Open
+Status:           Closed
 Bug Type:         Gettext related
 Operating System: Windows 2000
 PHP Version:      5CVS-2004-07-19 (dev)
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2004-07-19 19:30:49] borreo at softhome dot net

Description:
------------
php_gettext.dll extension is not working neither on PHP 5.0 final, nor
on latest CVS Win32 build:
http://snaps.php.net/win32/php5-win32-200407191430.zip

I tried the functions bindtextdomain() and gettext() and both seem to
be undefined.
The only other extension that I use, sybase_ct, works fine.

>From my php.ini:
extension_dir = "c:/php/ext"
extension=php_gettext.dll

I even tried running php-cgi.exe from the command line, and I didn't
receive any different error message (this really helps debugging
"missing .dll" errors).

Moving around iconv.dll (e.g. copying from an old version into c:\php,
see Bug #27269) didn't help either.

With PHP 4.3.7 no problem found.
Even with 5.0 RC1 no problems (provided that one manually copied the
iconv.dll into c:\php).



Reproduce code:
---------------
$DomainPath = bindtextdomain( "myapp", "c:/e/webtest/inc/locale" ) ;


Expected result:
----------------
[no output expected]

Actual result:
--------------
Fatal error: Call to undefined function bindtextdomain() in C:\test.php
on line 3


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29264&edit=1

Reply via email to