Linux Lite Forums
How to install php, apache & cie - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Software (https://www.linuxliteos.com/forums/forumdisplay.php?fid=18)
+--- Thread: How to install php, apache & cie (/showthread.php?tid=2329)



How to install php, apache & cie - Vincent - 10-23-2015

Hello,

I've just finished my installation and I want to install a lamp server for start working but I can't, when I enter this command into my terminal I've an error:
Code:
apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql
Code:
E: Unable to locate package apache2
E: Unable to locate package php5
E: Unable to locate package mysql-server
E: Unable to locate package libapache2-mod-php5
E: Unable to locate package php5-mysql

Any help ? Smile


Re: How to install php, apache & cie - darknetmatrix - 10-23-2015

maybe sudo apt-get install will solved this?


Re: How to install php, apache & cie - Vincent - 10-23-2015

(10-23-2015, 05:21 PM)drum link Wrote: maybe sudo apt-get install will solved this?

I'm already logged in root when I try to do this so nop, I got the same error Confused


Re: How to install php, apache & cie - Wirezfree - 10-23-2015

Hi,

Linux Lite is based on Ubuntu 14.04 LTS
This talks about Server, But it may helps..??  "LAMP"


Re: How to install php, apache & cie - Vincent - 10-23-2015

Everything work fine after restart


Re: How to install php, apache & cie - N4RPS - 11-11-2015

Hello!

Welcome to Linux Lite and to the forums, Vincent and Drum.

It's been so long since I was in Europe that I'd totally forgotten what Drum tobacco was! Thanks for the reminder.

It may have required an 'apt-get update' for Synaptic to see those packages. A permissions issue would have just asked whether or not you were signed in as the root user. Anyway, glad it worked out in the end for you...

73 DE N4RPS
Rob