add phpinfo to the api