When detect php, create tmp dir