In apache2 the directive order is very important to establish what requests can access to sorces and what not.
To better understand this, see the article:
And remember that from version 2.4 of apache, you can have troubleshoots in maintan deprecated allow and denied instructions,
despite newest Require all granded instruction.
In apache you can use mpm, which is a tool to use PHP via separate processes.
In this context is important to know the advantages/disadvantages of using multi-thread instead multi-processes.
See:
Speedup SSL trust chain via OCSP STAPLING!