# Cyrus IMAP administration Functions

## Introduction

> Note: This extension is not available on Windows platforms.

> Note: This extension has been moved to the » PECL repository and is no longer bundled with PHP as of PHP 5.0.0.

## Installation

To enable Cyrus IMAP support and to use these functions you have to compile PHP with the --with-cyrus option.

Warning

The IMAP, recode, YAZ and Cyrus extensions cannot be used in conjuction, because they all share the same internal symbol.

## Resource Types

This extension defines a Cyrus IMAP connection identifier returned by cyrus_connect().

## Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

`CYRUS_CONN_NONSYNCLITERAL` (integer)
`CYRUS_CONN_INITIALRESPONSE` (integer)
`CYRUS_CALLBACK_NUMBERED` (integer)
`CYRUS_CALLBACK_NOLITERAL` (integer)

## Table of Contents

- cyrus_authenticate — Authenticate against a Cyrus IMAP server
- cyrus_bind — Bind callbacks to a Cyrus IMAP connection
- cyrus_close — Close connection to a Cyrus IMAP server
- cyrus_connect — Connect to a Cyrus IMAP server
- cyrus_query — Send a query to a Cyrus IMAP server
- cyrus_unbind — Unbind ...