Apparently a tmp folder filled up somewhere which then caused PHP to misbehave.