D
D
DDD2018-10-09 15:12:51
linux
DDD, 2018-10-09 15:12:51

How to solve this issue, the package libapache2-mod-php5 is not available, but is mentioned in the list of dependencies of another package?

Installed apache2 I want to connect PHP mod to it I write:
sudo apt-get install php5 libapache2-mod-php5
Reading package lists… Done
Building dependency tree
Reading status information… Done
The php5 package is not available, but is listed in another package's dependency list.
This may mean that the package is missing, outdated, or available from sources not listed in sources.list
The libapache2-mod-php5 package is not available, but is listed in another package's dependency list.
This may mean that the package is missing, outdated, or available from sources not mentioned in the sources.list
E: No install candidate found for package 'php5'
E: No install candidate found for package 'libapache2-mod-php5'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vman, 2018-10-09
@vman

well, so probably there is no php5 package in this distribution, do a search first,
then it will be clear which package to install

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question