LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lampp for a production server? (http://www.linuxquestions.org/questions/linux-newbie-8/lampp-for-a-production-server-452871/)

xpucto 06-08-2006 12:05 PM

Lampp for a production server?
 
Hi!

What are the differences in terms of performances and security between LAMPP and apache/MySQL/PHP installed separately? I heard that LAMPP is not the right solution for a production server for example? If there are differences, how big are they?

Thanks.

reddazz 06-08-2006 12:21 PM

Your question is a bit vague. Apache, MySQL and PHP are part of the LAMP stack and are used extensively in production environments. Are you asking whether compiling from source is better than using precompiled packages?

xpucto 06-08-2006 12:31 PM

Quote:

Originally Posted by reddazz
Your question is a bit vague. Apache, MySQL and PHP are part of the LAMP stack and are used extensively in production environments. Are you asking whether compiling from source is better than using precompiled packages?

Some people don't want to use LAMPP and prefer to install Apache, MySQL and PHp seperately because they think that they may have a more efficient solution than installing the whole thing together. The issue is not whether compiling from source is better than using precompiled packages, but if the confort given by LAMPP has some disadvantages in return, in term of security, speed, RAM requirements... Or if you prefer: are there any advantage to renouce the facility of LAMPP and rather to install Apache, MySQL and PHP seperatly? I heard a few times: LAMPP is nice at home but is not a professional solution. Is it correct? If yes, in which way?

reddazz 06-08-2006 01:28 PM

Are you referring to the package thats now called XAMPP? If you are, then I get what you are saying. I have never used it myself so can't comment much about it. To me its seems to be designed to make it easy for newbies to get started with AMP, but I am not sure if it performs well in production environments. Most distros include AMP packages and these can be easily updated using the distros package manager. I am not sure how easy it would be, to update from one version of XAMPP to another. I prefer compiling AMP from source, because I can customise the packages to include only the features I need.

SweetLou 06-08-2006 03:01 PM

If you are talking about a bundled package, then I wouldn't use that in a production server. The reason is given above. It is much easier to upgrade one part of LAMP. If you do a bundled package thing, then you need to wait until whomever made the package updates it. So, you might be running with a security hole for a bit of time. Whereas if you need to update MySQL that can easily be done by yourself.

xpucto 06-09-2006 07:58 AM

Sorry for the confusion, I meant XAMPP! Thanks for the answers. I looked at xampp's website, the current version is up to date:
Quote:

Apache 2.2.2, MySQL 5.0.21, PHP 5.1.4 & 4.4.2 & PEAR
. But they also say that there is not always an upgrade for each new version. How about apache, mysql and PHP: is there always an upgrade posibility for each new version?

reddazz 06-09-2006 08:05 AM

Most distros (except the enterprise class distros like RHEL) usually provide some sort of security update to AMP (this depends on the distro, so checkout the distro you intend to use).

cs-cam 06-10-2006 12:22 AM

<shameless plug for cool software>
What about LLMP?

Linux, Lighttpd, MySQL, PHP :D

Tinkster 06-10-2006 02:38 AM

Or how about a REAL database and NICE programming language with a
clean design? :}

Linux, Apache, PostgreSQL & Python?


Cheers,
Tink

cs-cam 06-10-2006 02:42 AM

Heh, I was going to say SQLite + Python but I haven't actually got that far yet, it's still stuck in the When I Get Time mental file :(


All times are GMT -5. The time now is 07:19 PM.