所以我正在关注Jeffrey Way的tuts + Premium教程 - 在Laravel 4中创建一个电子商务应用程序,我遇到了这个问题.他只是用这行编辑composer.json文件来安装一个包"intervention/image": "dev-master"
,然后在他的控制台中输入'composer update'.我尝试相同,但它不会工作.
它显示此错误
"问题1 - 干预/映像2.0.2需要ext-fileinfo* - >系统中缺少所请求的PHP扩展文件信息. - intervention/image 2.0.1需要ext-fileinfo* - >请求的PHP扩展文件信息是从您的系统中丢失.-干预/图像2.0.0需要ext-fileinfo* - >系统中缺少所请求的PHP扩展文件信息. - 干预/图像的安装请求2.* - >可通过干预/图像满足[ 2.0.0,2.0.1,2.0.2]."
我已经尝试按照http://image.intervention.io/getting_started/installation上的说明操作,但它不起作用.
我不知道如何处理这个问题.请帮忙.我还读过某个地方,我应该编辑php.ini文件并取消注释fileinfo的一行但是在重新启动Apache之后它不起作用.
我正在使用带有wamp和Laravel的Windows 8.
任何帮助将非常感激.
当我尝试使用官方指南将我们现有的项目从Laravel 5.1更新到Laravel 5.2时,在更新后的作曲家更新后我收到错误
php artisan clear-compiled
运行.这是错误.
类Illuminate\Foundation\Composer不存在
有人有过类似的问题吗?当我使用无脚本标志运行composer update时,它会定期更新,因此在clear-compiled上出现问题.
以下是我的服务提供商和我的composer.json文件.
服务供应商
Illuminate\Auth\AuthServiceProvider::class,
Illuminate\Broadcasting\BroadcastServiceProvider::class,
Illuminate\Bus\BusServiceProvider::class,
Illuminate\Cache\CacheServiceProvider::class,
Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class,
Illuminate\Cookie\CookieServiceProvider::class,
Illuminate\Database\DatabaseServiceProvider::class,
Illuminate\Encryption\EncryptionServiceProvider::class,
Illuminate\Filesystem\FilesystemServiceProvider::class,
Illuminate\Foundation\Providers\FoundationServiceProvider::class,
Illuminate\Hashing\HashServiceProvider::class,
Illuminate\Mail\MailServiceProvider::class,
Illuminate\Pagination\PaginationServiceProvider::class,
Illuminate\Pipeline\PipelineServiceProvider::class,
Illuminate\Queue\QueueServiceProvider::class,
// Illuminate\Redis\RedisServiceProvider::class,
Vetruvet\PhpRedis\PhpRedisServiceProvider::class,
Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
Illuminate\Session\SessionServiceProvider::class,
Illuminate\Translation\TranslationServiceProvider::class,
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
Collective\Html\HtmlServiceProvider::class,
Laravel\Socialite\SocialiteServiceProvider::class,
Intervention\Image\ImageServiceProvider::class,
Torann\GeoIP\GeoIPServiceProvider::class,
Jenssegers\Agent\AgentServiceProvider::class,
Barryvdh\Debugbar\ServiceProvider::class,
Run Code Online (Sandbox Code Playgroud)
composer.json
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.2.*",
"fzaninotto/faker": "^1.6@dev",
"laravelcollective/html": "5.2.*",
"laravelcollective/remote": "~5.2",
"kriswallsmith/assetic": "^1.3@dev",
"pda/pheanstalk": "^3.0@dev",
"aws/aws-sdk-php-laravel": "~3.0",
"illuminate/http": "~5.2",
"illuminate/session": "~5.2",
"illuminate/support": "~5.2", …
Run Code Online (Sandbox Code Playgroud) 如何在没有编码的情况下更改android studio中的布局?我知道在eclipse ADT中我只需右键单击我想在Outline中更改的布局并选择"更改布局"选项.我如何在Android Studio中执行此操作.我无法在任何地方找到答案.
laravel ×2
php ×2
android ×1
composer-php ×1
frameworks ×1
laravel-4 ×1
laravel-5.1 ×1
laravel-5.2 ×1
layout ×1
package ×1