Both are available on the shared hosting servers and are also included with the default installs on our dedicated servers:
http://main.xenlayer.com/phpinfo.php - it's also PHP 5.4 instead of 5.3, which outperforms it in almost every way.
Now on VPS servers we sometimes disable them to save resources. Same goes for Apache, we do custom Nginx configurations on smaller VPS accounts on request.