# Unable to load Intl extension

- Thread: https://externals.io/message/40009
- Original archive: https://news-web.php.net/php.internals/40009
- Started by Ryan Panning on 2008-08-20T04:00:16+00:00
- Messages: 7
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #40009 — Ryan Panning — 2008-08-20T04:00:16+00:00

URL: https://externals.io/message/40009#40009

I am unable to load the Intl extension on Windows XP SP2 using Apache 
2.2.8 and the php apache module. I have tried everything I can think of 
and for the life of me cannot get it to load. The Apache error log keeps 
spitting out this error.

PHP Warning:  PHP Startup: Unable to load dynamic library 
'C:/PHP53/ext/php_intl.dll' - The specified module could not be 
found.\r\n in Unknown on line 0

I am 100% sure that the dll IS located there and is readable by 
PHP/Apache. Other extensions are loaded from that directory as well. The 
  php_intl.dll must be compiled as it's 112 KB. Ideas?

---

## #40019 — Stanislav Malyshev — 2008-08-20T17:43:59+00:00

URL: https://externals.io/message/40009#40019 · In reply to: #40009

Hi!

> PHP Warning:  PHP Startup: Unable to load dynamic library 
> 'C:/PHP53/ext/php_intl.dll' - The specified module could not be 
> found.\r\n in Unknown on line 0
> 
> I am 100% sure that the dll IS located there and is readable by 
> PHP/Apache. Other extensions are loaded from that directory as well. The 
>  php_intl.dll must be compiled as it's 112 KB. Ideas?

You might be missing ICU DLLs, try downloading them from 
http://www.icu-project.org/
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com

---

## #40023 — Pierre Joye — 2008-08-20T20:26:06+00:00

URL: https://externals.io/message/40009#40023 · In reply to: #40009

hi Ryan,


> I am unable to load the Intl extension on Windows XP SP2 using Apache 2.2.8
> and the php apache module. I have tried everything I can think of and for
> the life of me cannot get it to load. The Apache error log keeps spitting
> out this error.
>
> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'C:/PHP53/ext/php_intl.dll' - The specified module could not be found.\r\n
> in Unknown on line 0
>
> I am 100% sure that the dll IS located there and is readable by PHP/Apache.
> Other extensions are loaded from that directory as well. The  php_intl.dll
> must be compiled as it's 112 KB. Ideas?

The ICU dlls were missing from the packages. The latest snapshots have
them. My apologizes for not having catched this error, I had ICU
installed system wide here (not the case anymore :).

Thanks for testing and for your feedbacks!


Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

---

## #40024 — Pierre Joye — 2008-08-20T20:27:02+00:00

URL: https://externals.io/message/40009#40024 · In reply to: #40019

hi Stan,


> Hi!
>
> > […]
>
> You might be missing ICU DLLs, try downloading them from
> http://www.icu-project.org/

Please don't, they are not compatible (not with snaps or the VC9
builds). ICU 4.x may be compatible with VC9 but not 3.x.

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

---

## #40026 — Stanislav Malyshev — 2008-08-20T20:36:48+00:00

URL: https://externals.io/message/40009#40026 · In reply to: #40024

Hi!

> Please don't, they are not compatible (not with snaps or the VC9
> builds). ICU 4.x may be compatible with VC9 but not 3.x.

My bad, sorry :)
-- 
Stanislav Malyshev, Zend Software Architect
stas@zend.com   http://www.zend.com/
(408)253-8829   MSN: stas@zend.com

---

## #40053 — Ryan Panning — 2008-08-21T16:02:13+00:00

URL: https://externals.io/message/40009#40053 · In reply to: #40023

Pierre Joye wrote:
> hi Ryan,
> 
> The ICU dlls were missing from the packages. The latest snapshots have
> them. My apologizes for not having catched this error, I had ICU
> installed system wide here (not the case anymore :).
> 
> Thanks for testing and for your feedbacks!
> 
> 
> Cheers,

Hi, I downloaded a new snap (php5.3-win32-200808211204.zip) and had the 
same error. I again tried several options, specifying full path, forward 
and backward slashes, etc. (In the php.ini file) The icu*.dll files are 
in the snap. Do they need to be moved somewhere, such as system32? Thanks

---

## #40056 — Pierre Joye — 2008-08-21T16:32:24+00:00

URL: https://externals.io/message/40009#40056 · In reply to: #40053

hi Ryan,


> Pierre Joye wrote:
> > […]
>
> Hi, I downloaded a new snap (php5.3-win32-200808211204.zip) and had the same
> error. I again tried several options, specifying full path, forward and
> backward slashes, etc. (In the php.ini file) The icu*.dll files are in the
> snap. Do they need to be moved somewhere, such as system32? Thanks

Yes, they have to be available in your PATH. That can be where the
apache bins are, system or your PATH. Or if you use php CLI, where
php.exe is.

Cheers,
--
Pierre

http://blog.thepimp.net | http://www.libgd.org
