lnmp1.8安装imap 100%成功教程 以后这个教程就用不到了,
lnmp1.8安装imap 100%成功教程,感谢军哥lnmp1.9默认安装imap等插件的支持,以后这个教程就用不到了,
添加IMAP模块yum -y install libc-client-*yum install -y libc-client-develyum -y install uw-imap-devel
进入lnmp的src目录cd ~/lnmp1.8/src解压php (注意版本号)tar -xjvf php-7.3.29.tar.bz2
cd php-7.3.29/ext/imapcd ~/lnmp1.8/src/php-7.3.29/ext/imap/usr/local/php/bin/phpizeln -s /usr/lib64/libc-client.so /usr/lib/libc-client.so./configure --with-php-config=/usr/local/php/bin/php-config --with-imap-ssl --with-kerberos make && make install
出现 就表示安装成功 Installing shared extensions: /usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/
编辑 /usr/local/php/etc/php.ini 添加extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20180731/imap.so
lnmp restart
页:
[1]