相关疑难解决方法(0)

Laravel需要Mcrypt PHP扩展

我试图使用migrate功能Laravel 4OSX.但是,我收到以下错误:

Laravel requires the Mcrypt PHP extension.
Run Code Online (Sandbox Code Playgroud)

据我了解,它已经启用(见下图).

有什么问题,我该如何解决?

在此输入图像描述

php mcrypt laravel laravel-4

408
推荐指数
19
解决办法
25万
查看次数

在XAMPP上安装Php-intl

我需要在我的mac上使用扩展intl和XAMPP.

所以我按照这个链接:

在XAMPP for Mac Lion 10.8上安装Php-intl

http://lvarayut.blogspot.it/2013/09/installing-intl-extension-in-xampp.html

我重新启动我的apache服务器,但没有安装扩展.因为如果我发布:

php -m | grep intl #should return 'intl'
Run Code Online (Sandbox Code Playgroud)

回来空了

没有它我无法启动的命令是对于composer和cakephp这样:

composer create-project --prefer-dist -s dev cakephp/app cakephp3
Run Code Online (Sandbox Code Playgroud)

给我这个错误:

Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for cakephp/cakephp 3.0.*-dev -> satisfiable by cakephp/cakephp[3.0.x-dev].
    - cakephp/cakephp 3.0.x-dev requires ext-intl * -> the requested PHP extension intl is missing from your system.
  Problem 2
    - cakephp/cakephp 3.0.x-dev requires ext-intl * …
Run Code Online (Sandbox Code Playgroud)

php apache macos cakephp

15
推荐指数
3
解决办法
4万
查看次数

标签 统计

php ×2

apache ×1

cakephp ×1

laravel ×1

laravel-4 ×1

macos ×1

mcrypt ×1