intl PHP 扩展不适用于 xampp 服务器

intl PHP extension is not working for xampp server(intl PHP 扩展不适用于 xampp 服务器)
本文介绍了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 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)