spatie / flysystem-dropbox

A flysystem driver for Dropbox that uses the v2 API
https://freek.dev/734-dropbox-will-turn-off-v1-of-their-api-soon-its-time-to-update-your-php-application
MIT License
342 stars 50 forks source link

Wrong php version detection #20

Closed mehranhadidi closed 7 years ago

mehranhadidi commented 7 years ago

Hello,

I have php 7 installed on my system: image

but when i try to install this package i get an error: image

What should i do? It thinks that i have php 5.~ installed but i have 7.~

Thanks

freekmurze commented 7 years ago

Probably you have a “platform” key in your composer.json. Remove that key and try installing the package again.

On Tue, 15 Aug 2017 at 11:15, Mehran Hadidi notifications@github.com wrote:

Hello,

I have php 7 installed on my system: [image: image] https://user-images.githubusercontent.com/897774/29309642-c9a5d9d2-81bf-11e7-8ff3-587cd3d4fe35.png

but when i try to install this package i get an error: [image: image] https://user-images.githubusercontent.com/897774/29309655-e912bec0-81bf-11e7-81b6-d0f8cc3cb24e.png

What should i do? It thinks that i have php 5.~ installed but i have 7.~

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/spatie/flysystem-dropbox/issues/20, or mute the thread https://github.com/notifications/unsubscribe-auth/AAdiDQHpjHC2d0CCOiesuWk4fJg3ZYFjks5sYWGtgaJpZM4O3XW4 .

-- Freek Van der Herten https://spatie.be +32 495 84 27 91