Split apache/mysql/configure into separate scripts