Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 基于Laravel的图像干涉成像_Php_Laravel_Web_Image Manipulation_Image Upload - Fatal编程技术网

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并取消了一些代码的注释,这些代码据说是我的一些研究中需要的,但它仍然不起作用。请帮助

您必须启用

有关更多详细信息,请参见此处: