Edit report at https://bugs.php.net/bug.php?id=65476&edit=1
ID: 65476 Comment by: mastermnd at gmail dot com Reported by: mastermnd at gmail dot com Summary: php_gettext.dll will not load Status: Not a bug Type: Bug Package: Dynamic loading Operating System: Windows 7 x64 PHP Version: 5.5.2 Block user comment: N Private report: N New Comment: Sorry but if you are running the command from C:\temp\5.5.2nts> you probably haven't read my report carefully. My path is set up correctly, since all other extensions load fine, and so is my config. Previous versions of PHP were loading the extesion just fine too. If i change both apache and php to 32-bit, the extension also loads. It's only 64bit *thread-safe* (mod-php) that shows this behaviour. Previous Comments: ------------------------------------------------------------------------ [2013-08-19 07:53:29] paj...@php.net works just fine. C:\temp\5.5.2nts>php -d extension_dir=ext -d extension=php_gettext.dll -m [PHP Modules] bcmath calendar Core ctype date dom ereg filter ftp gettext hash iconv json libxml mcrypt mhash mysqlnd odbc pcre PDO Phar Reflection session SimpleXML SPL standard tokenizer wddx xml xmlreader xmlwriter zip zlib Be sure to have set your php.ini path correctly, as well as the PATH variable (so all required DLL can be loaded as well). ------------------------------------------------------------------------ [2013-08-19 07:37:22] mastermnd at gmail dot com Description: ------------ I am on Windows 7 x64 Ultimate, running Apache 2.4.6 VC11 x64 from the apache lounge with PHP 5.5.2 x64 TS from windows.php.net. With PHP versions 5.5.1 and 5.5.2, I get the following error when starting: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php\\bin\\ts\\ext\\php_gettext.dll' - The specified module could not be found.\r\n in Unknown on line 0 Needless to say, the DLL exists in the right path, permissions are ok [other modules work fine!] If I load alternative config files and start PHP 5.5.2 x64 NTS with mod_fcgi 2.3.7, then php_gettext.dll loads fine. I am reporting this because I suspect there is a compilation or packaging issue with the TS version. Alternatively, the DLL might have a new dependency that i'm not aware of? iconv.dll or similar that is missing? Regards. Test script: --------------- I am using a copy of php-production.ini with the following modules list (in this order): zend_extension="C:\php\bin\ts\php_xdebug-2.2.3-5.5-vc11-x86_64.dll" extension=php_mbstring.dll extension=php_bz2.dll extension=php_curl.dll extension=php_fileinfo.dll extension=php_gd2.dll extension=php_gettext.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_openssl.dll extension=php_pdo_mysql.dll extension=php_soap.dll Expected result: ---------------- I should be able to load the module but I can't. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65476&edit=1