intl PHP extension is not working for xampp server(intl PHP 扩展不适用于 xampp 服务器)
问题描述
我正在尝试安装 CakePHP 3-0-0 版本并且我已经从 此处.但它显示启用intl extension 的错误.因为我已经在 php.ini 文件中将 ;extension=php_intl.dll 更改为 extension=php_intl.dll (删除分号)并重新启动xampp 2-3 次,但仍然显示相同的错误.
I am trying to install CakePHP 3-0-0 version and I have downloaded the source code from here. But it is showing the error of enable intl extension. As I have already changed ;extension=php_intl.dll to extension=php_intl.dll (remove the semicolon) in php.ini file and restart xampp 2-3 times, but still it is showing that same error.
错误如下:
Fatal error: You must enable the intl extension to use CakePHP. in D:xampphtdocscakephp-3-0-0configootstrap.php on line 38
那么,谁能告诉我这里的问题是什么?我应该怎么做才能解决这个问题?
So, can anyone please tell me what is the issue here? And what should I do to resolved this issue?
推荐答案
一旦你激活了php.ini文件中的php_intl.dll,你还需要复制的dll文件php_intl.dll 使用从 PHP 文件夹到 Apache/bin 文件夹.
Once you have activated the php_intl.dll in the php.ini file you also need to copy the dll files that php_intl.dll uses from the PHP folder to the Apache/bin folder.
我不是 XAMPP 用户,所以我不确定实际的文件夹名称
I am not a XAMPP user so I am not sure of the actual folder names
复制 xampp/php/icu*.dll 到 xampapachein
copy xampp/php/icu*.dll to xampapachein
还要记住,您必须编辑位于 xamppapachein 文件夹中的 php.ini 文件,而不是 xamppphp 文件夹中的文件文件夹.
Also remember that you have to edit the php.ini file that lives in the xamppapachein folder and not the one in the xamppphp folder.
xamppphp 文件夹中的那个只被 PHP CLI(命令行界面)使用
The one in the xamppphp folder only gets used by PHP CLI (Command Line Interface)
这篇关于intl PHP 扩展不适用于 xampp 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:intl PHP 扩展不适用于 xampp 服务器
基础教程推荐
- 如何替换eregi() 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
