Only apply apache.conf when PHP is enabled.
Unnecessary stuff removed.