V
V
Vlad ~2019-10-23 14:03:11
Composer
Vlad ~, 2019-10-23 14:03:11

I can't run composer install, how can I fix it?

when I run composer install I get this error

The requested PHP extension ext-json ^1.7 has the wrong version (1.6.0) installed. Install or enable PHP's json extension.

how to fix it

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Luchaninov, 2020-04-22
@examp1

composer install -n --ignore-platform-reqs

G
Gor Mkhitaryan, 2019-10-23
@MrFeaf

Update the JSON extension in PHP. If you are developing locally, then just change the PHP version (most likely, the new version of PHP will have a new version of JSON).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question