0

It is not finding these packages. Does anybody know why?

It is not finding the installation candidate. Here is the result of sudo apt-get install libapache2-mod-php5 php5:

pi@raspberrypi3:~ $ sudo apt-get install libapache2-mod-php5 -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libapache2-mod-php5 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libapache2-mod-php5' has no installation candidate

Thank you.

2

PHP 5 is no longer supported.

You could use PHP 7 instead:

sudo apt install libapache2-mod-php7.3
| improve this answer | |
  • Thank you sooooooooooooo much! – DeepCreek23 Feb 3 at 0:06
  • @DeepCreek23 If the answer helped you so please accept it with a click on the tick on its left side. Only this will finish your question and it will not pop up again for years (and anoying us ;-). – Ingo Feb 3 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.