[英]intl extension missing
I am working on a project using PHP with Symfony. 我正在使用PHP和Symfony开展一个项目。 I have my intl.dll file present in wamp/bin/php/php5.3.10/ext .
我有我的intl.dll文件存在于wamp / bin / php / php5.3.10 / ext中。 In my php.ini file I have
在我的php.ini文件中
extension_dir = "c:/wamp/bin/php/php5.3.10/ext/"
and the intl.dll file is also enabled 并且还启用了intl.dll文件
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
. 启用扩展名
php_intl
。
And copy ic*.dll
files from php
folder to apache/bin
folder: 并将
ic*.dll
文件从php
文件夹复制到apache/bin
文件夹:
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. 尝试使用位于apache中的文件。 (bin\\apache\\apache2.2.22\\bin\\php.ini)
(BIN \\ apache的\\ apache2.2.22 \\ BIN \\ php.ini中)
Remove the semicolon from the line : ;extension=php_intl.dll 从行中删除分号:; extension = php_intl.dll
Wamp seems to load the configuration from this file and not from the one in the php directory. Wamp似乎从这个文件加载配置,而不是从php目录中加载配置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.