fix PHP Extension auto detect reinstalls