When trying to execute ‘apt-get install php5-curl” following error accurs
The following packages have unmet dependencies:
php5-curl : Depends: php5-common (= 5.6.33+dfsg-0+deb8u1) but 5.6.40+dfsg-0+deb8u8 is to be installed
Any Idea how to fix this?
2
Answers
PHP 5 has been officially unsupported for over a year by now – I think you’re going to struggle to resolve dependencies. Even Jessie (the only version still shipping PHP 5 by default, which you seem to be using) becomes unsupported within a few months of now.
Your best long-term plan is to plan your code’s upgrade to compatibility with PHP 7.4
Because the security repository is missing / disabled on your `sources.list.
php5-curl
is available on the security repository.You should add the following line to your
/etc/apt/sources.list
:Then :