From:             borreo at softhome dot net
Operating system: Windows 2000
PHP version:      5CVS-2004-07-19 (dev)
PHP Bug Type:     Gettext related
Bug description:  gettext extension loading but not working

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 bug report at http://bugs.php.net/?id=29264&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=29264&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=29264&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=29264&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=29264&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=29264&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=29264&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=29264&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=29264&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=29264&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=29264&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=29264&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=29264&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29264&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=29264&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=29264&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=29264&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29264&r=float

Reply via email to