Only apply apache.conf when PHP is enabled.