downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

実行時設定> <要件
[edit] Last updated: Fri, 25 May 2012

view this page in

インストール手順

これらの関数を動作させるには、--with-imap[=DIR] を指定して PHP をコンパイルする必要があります。DIR は c-client インストール時のプレフィックスです。上の例のような場合には --with-imap=/usr/local/imap-2000b を指定します。この場所は、上の指示にしたがってあなたが作成したディレクトリの 場所に依存します。Windows ユーザーは、php.iniphp_imap.dll DLL を有効にします。

IMAP は Windows 2000 より前のバージョンではサポートされていません。 なぜなら、メールサーバーとの SSL 接続を有効にするために暗号化関数を 使用しているからです。

注意: c-client の設定によっては、これ以外に --with-imap-ssl=/path/to/openssl/--with-kerberos=/path/to/kerberos といったオプションを PHP の configure で指定する必要があります。

警告

IMAPrecodeYAZ および Cyrus 拡張モジュールは、組み合わせて使用することはできません。 これは、これらすべてが同一の内部シンボルを使用しているためです。 注意: Yaz 2.0 以降ではこの問題は発生しません。



add a note add a note User Contributed Notes インストール手順
jimbomorrison+php at gmail dot com 08-Jun-2009 11:23
If you're having problems compiling on Linux like this:

checking whether build with IMAP works... no
configure: error: build test failed. Please check the config.log for details.

... then try adding: "--with-openssl" to your switches.

Not quite sure why but here's where I found the idea:
http://bugs.php.net/bug.php?id=29783

HTH,
J

 
show source | credits | stats | sitemap | contact | advertising | mirror sites