Are you sure that the license won't infect the rest of the code? I don't see a
Linking Exception in the
Limesurvey License. I can't understand how you'd be able to make a PHP call to a header function without having that code linked and distributed together. And that situation is explicitly spelled out in the Limesurvey license:
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
Tac