Php 基于Laravel的图像干涉成像
所以我犯了这个错误Php 基于Laravel的图像干涉成像,php,laravel,web,image-manipulation,image-upload,Php,Laravel,Web,Image Manipulation,Image Upload,所以我犯了这个错误 Call to undefined function Intervention\Image\finfo_buffer() 我在我的laravel上使用干预图像时遇到了这个错误,所以下面是我的代码 if(Input::hasFile('imgchick')) { $img = Image::make('images/chickens/1419125359-chicken.jpg'); //got the error on this part
Call to undefined function Intervention\Image\finfo_buffer()
我在我的laravel上使用干预图像时遇到了这个错误,所以下面是我的代码
if(Input::hasFile('imgchick'))
{
$img = Image::make('images/chickens/1419125359-chicken.jpg'); //got the error on this part
$file = ImageInput::file('imgchick');
$name = time().'-'.'chicken.jpg';
$file = $file->move(public_path() . '/images/chickens', $name);
$farm->img_loc=$name;
我已经更新了我的php.ini并取消了一些代码的注释,这些代码据说是我的一些研究中需要的,但它仍然不起作用。请帮助您必须启用
有关更多详细信息,请参见此处: