API Support for php 5.4's default webserver