0

I want to install complete LAMP stack on my Ubuntu 14.04 in order to install Wordpress.

sudo apt-get install apache2

I am trying to install APACHE with the above and here's the error I am getting

dpkg: error processing package libapache2-mod-php5 (--configure):
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

Can anyone recommend the best method to get the up and running.

Thanks

Suraj
  • 189

2 Answers2

1

There are some packages missing. Install everything needed by running :

sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql

If you need phpmyadmin afterwards, install it :

sudo apt-get install phpmyadmin
hg8
  • 13,582
0

Run: sudo rm /etc/apt/sources.list.d/langdalepl-gvfs-mtp-trusty.list sudo apt-get update

The run again sudo apt-get install apache2

Your have not working repository called "gvfs"