我已aliases
将此条目添加到数组中:
'Image' => Intervention\Image\Facades\Image::class
即使没有实际使用此类,这也会导致我的 Laravel 应用程序达到 30 秒的 php 时间限制(或内存限制,以防我将时间限制增加到 120 秒)。我究竟做错了什么?
我已aliases
将此条目添加到数组中:
'Image' => Intervention\Image\Facades\Image::class
即使没有实际使用此类,这也会导致我的 Laravel 应用程序达到 30 秒的 php 时间限制(或内存限制,以防我将时间限制增加到 120 秒)。我究竟做错了什么?
从您对问题的描述中,很难找出可能出了什么问题,但以下步骤对我有用:
$ cd my-laravel-app
$ composer require intervention/image
编辑config/app.php
并添加:
Intervention\Image\ImageServiceProvider::class
到结束$providers
'Image' => Intervention\Image\Facades\Image::class
到结束$aliases
我还建议您在image.intervention.io检查您的系统要求。