fix apache/php configure not same dir