adapt apache  and php config