On a Windows 7 64bit I installed:
- Apache 2.4.23 x86 VC11 Thread safe
- php 5.6.27-Win32-VC11-x86
Apache httpd.conf:
...
LoadModule php5_module "D:/devapps/php/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "D:/devapps/php"
...
Everything is working fine and with phpInfo() I see that the loaded PHP.ini is the correct one (PHPIniDir) and the extension intl is enabled:
PHP.ini
...
extension_dir = "D:/devapps/php/ext"
...
extension=php_intl.dll
...
When I test it with command line:
php.exe -c \devapps\php -r "echo '[' . extension_loaded('intl') . ']';"
it reports that the extension is loaded correctly (output: [1]) with no warnings.
But if I look at the apache logs, I see the following error:
PHP Warning: PHP Startup: Unable to load dynamic library 'D:/devapps/php/ext\php_intl.dll' - Cannot find the specified module.\r\n in Unknown on line 0
and through the web server extension_loaded('intl') is false.
Other extension (like soap or curl) works fine.
Can you help me?