LAMP package vs. separate install?

Asked by Bernard Gallagher

In another question, I was advised to install Apache, MySQL, and PHP separately rather than installing LAMP.

Why?

What's the advantage of installing them separately rather than as a single package?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ryan Dwyer (ryandwyer) said :
#1

LAMP doesn't use the repositories, so there is no way for it to be kept updated.

LAMP also doesn't register as being installed. It's really just a bunch of files in the /opt/ directory which are running and listening on ports. If you try to install additional software like phpldapadmin it wouldn't recognise you have a webserver installed. If you install Amorok and want to store your music info in a MySQL database, it will try to install mysql-server and will fail because that port is already in use.

It's really so much easier to install the packages separately. It's just as easy as installing LAMP - you shouldn't even need to tweak any config files. The packages will be kept up to date from the repositories and any other applications that want to use Apache/MySQL won't have any problems.

Can you help with this problem?

Provide an answer of your own, or ask Bernard Gallagher for more information if necessary.

To post a message you must log in.