Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can someone explain to me what the difference is, if any, between LAMP and XAMP. I thought LAMP was just apache, mysql, and php/perl (AMP) running on Linux (L), but then people talk about XAMP like its something different. is it?
Nope, Google works fine, thanks for checking, haha.
So why do people talk about them like they are two different things, is one better than the other? Seems like either would do the job fine, just lamp you have to install everything separately, unless I'm missing something (which is why I made this post). Some people say they install lamp on port 80 and xamp on port 8080. Just trying to understand why they would do stuff like this.
i never heard of xamp but according to druuna it is the same thing as lamp but more general.
i think lamp is the most popular; i never hear much of windows being the foundation for apache, mysql, and php/ perl because they have their own iis, ms-sql, and asp.net .
but perhaps sun, unix, bsd, vms, ... as a platform for amp.
wow druuna, not sure why you're being so harsh usually you're not like this. lamp is also for developing. so you're saying lamp is never used for developing? i'm not trying to agrue, just trying to straighten this out in my head.
Guess I'm just trying to figure out why someone who only uses Linux would need both or install both when they are so similar? Wouldn't it be better to just use one and stick to it.
wow druuna, not sure why you're being so harsh, but lamp is also for developing.
Because it sure looks like you don't do anything yourself. Even if a link is provided, which could have been look up easily by you.
If you actually did look up/read anything on this subject, you do not show it in any of the previous posts. And yes, that ***ses me off a bit, especially with the haha remark and the follow up posts.....
URL needs to be fixed, it's not pointing to the correct page.
I do know what LAMP is, and yes developers can also use it. But xamp is a lot easier to install, without the hassle of (production) security, which would make it developer specific and definately not production specific.
Quote:
Guess I'm just trying to figure out why someone who only uses Linux would need both or install both when they are so similar? Wouldn't it be better to just use one and stick to it.
The end result (a lamp environment) is basically the same, but one is "perfect" for production and one is "perfect" for development.
And all that would have been clear if you would have put some effort in searching and reading yourself.
Last edited by druuna; 04-06-2012 at 11:01 AM.
Reason: restored original text
If you're saying I didn't research before posting, that is inaccurate. I said haha to try to lighten the mood. I did search, which is why I knew lamp could be used for development also. the link is correct, seems the forum chopped off the last ) from the clickable link part. if you copy and paste the whole thing into your address bar, it'll work for you.
one is perfect for production, one for development, and you explained it. now that actually makes sense.
guess the newbie forum isn't really for newbie question. I did read about lamp and xamp, I don't think this question of how its used in the real world is too off base based on my couple questions I had. maybe I'm wrong?
Can someone explain to me what the difference is, if any, between LAMP and XAMP. I thought LAMP was just apache, mysql, and php/perl (AMP) running on Linux (L), but then people talk about XAMP like its something different. is it?
XAMPP is basically a pre-configured LAMP (Linux-Apache-MySQL-PHP) stack, conveniently packaged into one tarball.
While most Linux/BSD distros have their own LAMP packages, the advantage of XAMPP is that you can untar everything needed into one self-contained directory (eg. /opt/xampp), and run your LAMP server from there, rather than have bits and pieces of your LAMP package spread out over /var/www, /etc, /usr/bin ...
It's convenient for developers because you can have multiple, self-contained LAMP installations, all with different configurations, for experimenting (hence the different port numbers). Also, you can package XAMPP easily on Live CDs or on Windows installations, for demo purposes.
However, the downside is that is that XAMPP is not security-configured, and the XAMPP people warn against using it for production purposes on the Internet.
By the way, I share your frustration with "RTFM" or "just Google it!" responses. After ten years of using GNU/Linux, I am still learning, and I read forums like these for helpful and respectful advice. No one is forcing anybody to answer questions, and I think that "RTFM" is rude and ends up turning curious newbies away from Linux.
Spurious, your response was a thing of beauty, that was a great answer! you now have your first "thanks"!
Yeah, I didn't mean to get defensive in my other posts but I may have slightly, I don't think my specific questions were that far-reaching or lazy. I read about lampp and xampp but still was confused, which you straightened out in a very clear and friendly way. I mean, it is a newbie forum for pete's sake haha. we all know the saying of what happens when people assume things, you make an ....
By the way, I share your frustration with "RTFM" or "just Google it!" responses. After ten years of using GNU/Linux, I am still learning, and I read forums like these for helpful and respectful advice. No one is forcing anybody to answer questions, and I think that "RTFM" is rude and ends up turning curious newbies away from Linux.
The way this thread was started I got the strong impression that the OP did not do any prior searching/reading himself. The question asked was very general, could also be an indication that no searching was done. Maybe I was wrong, maybe not.....
And be fair, I did not give a "RTFM" answer.
Yes I pointed out first that google could have helped him (I still do!), but I also gave him a link that explains most/all of his question (even one that he did not post yet [post #3]). If the info given isn't clear for whatever reason, reply with one (or more) specific questions.
Ok, that's how I interpreted it and you are correct in saying that I do not have to answer. For whatever reason, this time I did (the first post wasn't the one that tickled me, his second one [#3] did).
Newbie or not, maybe it would be wise to include some background (things you have already done/read), especially if it is a "general" question.
Personally I think that "We" are not here to hold everybody's hand, but to help out if things don't work out or are confusing etc (whatever level!).
Anyway, I'm glad to see that rjo98 got an answer to his liking.
Last edited by druuna; 04-06-2012 at 11:00 AM.
Reason: restored original text
I did, and I appreciate everyone's help, even yours druuna, don't think it wasn't appreciated once we got past our initial you-think-i'm-lazy vs. I-didn't-fully-understand-everything
I don'twant to start a new hasle, but I'm a newbie to Linux (although is already a few years on and off with Linux due to different work issues) and wouldn't like to be discouraged to ask (often dumb) questions!
Moderator note:
To finish the issue in this thread, I recommend a re-read of the LQ Rules, especially this sentence:
Quote:
We are proud of the fact that despite of our growing numbers we continue to remain extremely friendly to both the newbie and the expert.
The second post in this thread was not really friendly and the comment about search engines was unnecessary. Often the questions asked may be answered by a short search, that's true, but this is Linux-Newbie forum, after all.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.