Y
Y
Yuri2016-03-21 19:42:34
PHP
Yuri, 2016-03-21 19:42:34

Error processing php5-json after updating php to version 7. What to do?

Tell me please. Decided to upgrade php to version 7. OS: linux mint. I used this mana:
https://www.digitalocean.com/community/tutorials/h...
As a result, dpkg now gives an error:

Настраивается пакет php5-json (1.3.9-1+deb.sury.org~trusty+4) …
/var/lib/dpkg/info/php5-json.postinst: 11: /var/lib/dpkg/info/php5-json.postinst: php5enmod: not found
dpkg: error processing package php5-json (--configure):
 подпроцесс установлен сценарий post-installation возвратил код ошибки 127
При обработке следующих пакетов произошли ошибки:
 php5-json
E: Sub-process /usr/bin/dpkg returned an error code (1)

How to treat? Thanks in advance.
This didn't help.
www.stackoverflow.com/a/31994743

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Melkij, 2016-03-21
@modestguy

In trying to set up php5-json when installing php7, do you have any concerns?
Remove this package altogether.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question