mod_bandwidth does not limit usage by php files, it only limits direct requests.
What about mod_throttle, does that work on same principle too?

What can i do to limit my bandwidth to a certaing speed per second (not per month)