質問

I have dealt with this problem all the day, but i couldn't solve it,although i have followed the instructions. I got these error all the time.:(

"require ext-intl * -> the requested php extension int is missing from your computer"

i have enabled the ext-intl in my php.ini in wampserver...and also downloaded ICU and followed the instructions in this link: http://icu-project.org/repos/icu/icu/trunk/readme.html#HowToBuildWindows

but, none of these efforts have made a change in getting that killing(!) error.

what else should i try to solve this issue?

役に立ちましたか?

解決

  • First of all be sure that your server is isung x86 build (intl not working with x64)
  • activate intl extension in php.ini directly
  • copy all icu*.dll form php directory to apache directory
  • make sure your console using the same php folder you just configured

source : https://github.com/sonata-project/SonataIntlBundle/issues/32#issuecomment-10745894

In my windows system I have two php.ini files at the flowing paths :

  1. C:\wamp\bin\php\phpx.y.z
  2. C:\wamp\bin\apache\Apachex.y.z\bin

I don't know which one is in your path . just make sure to add the extension in both of them to eliminate any doubt.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top