 <p>It doesn't matter. As long as Apache is installed before the PHP package then you are good to go. (Because when you install the PHP package some distributions do some auto-configuring with Apache).</p>