Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a web app on the LAMP architecture. Right now all the servers are installed from the binaries available in the platform repositories (apt / yum). However, I think it would be best to install the servers by building them from the source and then installing them.

Will the second method have any significant advantages over the former? Disadvantages that I can think of is the manual maintenance.

share|improve this question

migrated from Feb 2 '11 at 11:29

This question came from our site for professional and enthusiast programmers.

Found this link on ServerFault:… – kopos Feb 2 '11 at 7:21
up vote 1 down vote accepted

For e. g. to quote:

  • If you link dynamically (without -static), the result is 13% slower on Linux. Note that you still can use a dynamically linked MySQL library for your client applications. It is the server that is most critical for performance.

So, in general answer is "there will".

share|improve this answer

The advantages should be minimum unless you're hitting a specific situation where compiler optimizations would help you. My personal opinion is that it's not worth the extra work and, if you're on a support contract for you base OS, it would invalidate it.

As always, I suggest you to carefully benchmark your compiled version and the vanilla package in a controlled environment.

share|improve this answer
But what if the the server is the lifeline of the application. – kopos Feb 3 '11 at 11:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.