This gives you both a manual error and returns the actual error.
$connection = oci_connect() or die("Critical Error: Could not connect to database.\n\n". oci_error());
Be sure to check this out, as I hope the Oracle error doesn’t do something stupid, like returning the connection string (with your DB password), but I wouldn’t assume until you see for yourself.