Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Coming from a windows history, I'd just managed to get my first Ubuntu computer running with Apache, PHP5, Mysql, Memcached and some other goodies to work as a local development workstation.

But, to learn the basics, since i know less than nothing about Apaches configurations and recommended settings:

What's common sense and good practice to start on when configuring a fresh install of Apache on a Ubuntu box? I am assuming that something needs to be done out-of-the box to make it use its full potential together with the rest of my packages?

Thanks a lot,

share|improve this question
2  
Need to know a little more about what you want to do with Apache. Barring that, good practice is to turn it off :-) –  voretaq7 May 25 '10 at 19:54
    
What to do? I want to use it to take care of my PHP files in my local environement, so it's not like I'm setting up a new web hosting service :) –  Industrial May 25 '10 at 22:22

2 Answers 2

up vote 1 down vote accepted

apache works fine out of the box if all you are doing is serving some PHP files locally. Most of the tuning required is to cater for scaling up to larger volumes of traffic.

Just install the apache, memcached and the php modules you need with apt-get and you'll find it Just Works.

share|improve this answer

@Industrial I think you should read Orielly Apache cook book it has a lot of good examples for configuring Apache.http://oreilly.com/catalog/9780596001919 I have myself read it though I knew apache but for my own understanding.

share|improve this answer
    
Thanks for the tip! I will check it out –  Industrial Mar 10 '11 at 8:57

Your Answer

 
discard

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.