Answer the question
In order to leave comments, you need to log in
When installing the libapache2 php5.6 package, it gives an error. How to fix?
Actually the question is in the title.
What is happening exactly. When installing libapache2-mod-php5.6, it crashes, I delete it, I put it again, the same topic. I've scoured the internet looking for an answer and haven't found anything yet. None of the advice helped.
That's why I decided to come here.
dpkg: error processing package libapache2-mod-php5.6 (--configure):
subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
libapache2-mod-php5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
Answer the question
In order to leave comments, you need to log in
Roman T posted a good guide, which was the solution to this problem. Link to guide.
Try to reinstall apache completely
$ sudo apt-get purge apache2
$ sudo apt-get purge php5 libapache2-mod-php5
$ sudo apt-get autoremove
$ sudo apt-get install apache2 libapache2-mod-php5 php5
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question