简体   繁体   中英

intl extension missing

I am working on a project using PHP with Symfony. I have my intl.dll file present in wamp/bin/php/php5.3.10/ext . In my php.ini file I have

 extension_dir = "c:/wamp/bin/php/php5.3.10/ext/"

and the intl.dll file is also enabled

but still I get the following error.

 The Symfony\Component\Locale\Stub\StubIntlDateFormatter::setLenient() is not implemented. Please install the 'intl' extension for full localization capabilities. 

can anyone help me what should I do ? Thanks

Enable extension php_intl .

And copy ic*.dll files from php folder to apache/bin folder:

copy D:\\wamp\\bin\\php\\php5.3.10\\ic*.dll D:\\wamp\\bin\\apache\\Apache2.2.21\\bin\\

As it suggested in similar question .

Try with the file located in apache. (bin\\apache\\apache2.2.22\\bin\\php.ini)

Remove the semicolon from the line : ;extension=php_intl.dll

Wamp seems to load the configuration from this file and not from the one in the php directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM