Closing php connections to mysql automatically
<p>I have too many connections to mysql within my php script.
The connections are not closing - I may have forgot to close the in some places in my code.</p>

<p>Is there any way to define the sql to close all my php connections to the server automatically at the end of the script?</p>