CENTOS6 PHP Coding IMAP mode

Source: Internet
Author: User
Tags imap

PHP codec c-client IMAP customers. Download http://www.washington.edu/imap/mirrors.html
The first step, c-client official documents said that a bit of a pit, compile error "BUG: x509v3.h: No that file or folder", search the next forum, use the following command to compile through make SLX sslinclude=/usr/include/openssl/ Extracflags=-fpic No add extracflags=-fpic in compiling Php-imap error: Libc-client.a:could not read Symbols:bad value. Added after the smooth compile through
The second step. Copying files to a folder mkdir lib mkdir include cp c-client/*.c lib/ cp c-client/*.h include/ cp c-client/c-client.a lib/libc-client.a
第三部,编译PHPcompile in an extended way, save time and effort,CD php-5.3.23/ext/imapphpize./configure--with-imap=/usr/local/imap-2007f/--with-imap-sslcopy imap.la imap.so to PHP Extended Folder
Fourth step, change PHP configuration changes php.ini join extension=/path/to/imap.so Restart PHP-FPM
Referenceshttp://www.brighterlamp.com/2012/12/how-to-compile-php-with-imap-support/

CENTOS6 PHP Coding IMAP mode

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.