Laravel:PHP Fileinfo扩展使用Intervention Image消息

时间:2016-09-04 12:12:42

标签: laravel laravel-5 laravel-5.2

您好我的本地主机我可以通过图像干预上传完美的图像。在我的服务器上我不能说:必须安装/启用Fileinfo扩展才能使用干预图像。我在5.6之前将PHP版本更改为5.3.29。我启用文件信息但仍无法正常工作。上传后我删除供应商并运行

  

composer install

  

composer dump-autoload

然后我将它上传到我的服务器,但问题仍然存在。 这是我的composer.json文件:

 "require": {
        "php": ">=5.3",
        "laravel/framework": "5.2.*",
        "laravelcollective/html":"*", 
        "laracasts/flash": "^2.0",
        "cviebrock/eloquent-sluggable": "^4.0",
        "intervention/image": "^2.3",
        "laravel/socialite": "^2.0",
        "cviebrock/image-validator": "^2.1"
    },
    "require-dev": {
        "fzaninotto/faker": "~1.4",
        "mockery/mockery": "0.9.*",
        "phpunit/phpunit": "~4.0",
        "symfony/css-selector": "2.8.*|3.0.*",
        "symfony/dom-crawler": "2.8.*|3.0.*"
    }, 

有人可以帮我吗?谢谢:))

0 个答案:

没有答案