yum install libc-client-devel
cd /root/lnmp1.0-full/php-5.3.17/ext/imap
/usr/local/php/bin/phpize

./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl

执行./configure --with-php-config=/usr/local/php/bin/php-config
后提示
configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

环境lnmp最新版本

updatedb
locate libc-client
locate 找到libc-client.so 位置后用ln -s 命令做个软连接到/usr/lib/
ln -s /usr/lib64/libc-client.so /usr/lib/libc-client.a
ln -s /usr/lib64/libkrb5.so /usr/lib/libkrb5.so
./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl

make &&make install

编译通过!!

vi /usr/local/php/etc/php.ini
找到extension,在后面加一条:extension = "imap.so"

保存,重启 服务

最新文章

  1. MyEclipse配置Tomcat开发JavaWeb程序JSP以及Servlet
  2. 自定义easyui整数或者数字、字母或者下划线验证方法
  3. 【poj3263】 Tallest Cow
  4. Linux安装SmartSVN及破解
  5. nova分析(3)—— nova-api
  6. poj - 3723 Conscription(最大权森林)
  7. -bash: ./radar.sh: /bin/sh^M: bad interpreter: 没有那个文件或目录
  8. Wince 中的图形编程
  9. 2.5.4 使用popupWindow
  10. python -序列化
  11. 通过js引入当前所需要的js,css等
  12. Spring、整合Spring+JDBC
  13. php如何开启GD库
  14. 在Servlet(或者Filter,或者Listener)中使用spring的IOC容器
  15. xcode磁盘大清理
  16. 《JavaScript设计模式与开发实践》知识点笔记
  17. HTTP概念解析
  18. 自动生成业务库码表insert脚本
  19. [LOJ2310][APIO2017]斑斓之地——可持久化线段树
  20. Codeforces 811C Vladik and Memorable Trip (区间异或最大值) (线性DP)

热门文章

  1. error: ‘ostream_iterator’ was not declared in this scope
  2. Ubuntu下Cmake编译C++程序Helloworld
  3. 1 搭建K8s集群
  4. ZROI 19.08.03 DP入门
  5. java数据结构1--数组、排序和Arrays工具类
  6. Docker(2)--Centos7 上安装部署
  7. pyqt5--动画
  8. oracle基本语句(第五章、数据库逻辑存储结构管理)
  9. 【java】并发执行ExecutorService的sumbit返回值的顺序问题
  10. jdk java 环境变量配置