Linux Lite Forums

Software - Support => Installing Software => Topic started by: Vincent on October 23, 2015, 01:17:01 PM

Title: How to install php, apache & cie
Post by: Vincent on October 23, 2015, 01:17:01 PM
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: [Select]
apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql
Code: [Select]
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 ? :)
Title: Re: How to install php, apache & cie
Post by: darknetmatrix on October 23, 2015, 01:21:07 PM
maybe sudo apt-get install will solved this?
Title: Re: How to install php, apache & cie
Post by: Vincent on October 23, 2015, 01:23:28 PM
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 :s
Title: Re: How to install php, apache & cie
Post by: Wirezfree on October 23, 2015, 02:01:38 PM
Hi,

Linux Lite is based on Ubuntu 14.04 LTS
This talks about Server, But it may helps..??  "LAMP" (https://help.ubuntu.com/community/ApacheMySQLPHP)
Title: Re: How to install php, apache & cie
Post by: Vincent on October 23, 2015, 04:00:41 PM
Everything work fine after restart
Title: Re: How to install php, apache & cie
Post by: N4RPS on November 10, 2015, 11:30:28 PM
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