DirectAdmin CentOS IMAP支持

IMAP
yum install krb5-devel libc-client libc-client-devel -y
wget //dave.t0xic.nl/tars/imapback-2004c1-x86.tar.gz
tar xzf imapback-2004c1-x86.tar.gz
cd imap-2004c1
./buildit
cd c-client
mkdir /usr/local/imap-2004c1/
mkdir /usr/local/imap-2004c1/lib
mkdir /usr/local/imap-2004c1/include
cp *.h /usr/local/imap-2004c1/include
cp *.c /usr/local/imap-2004c1/lib
cp c-client.a /usr/local/imap-2004c1/lib
ln -s /usr/local/imap-2004c1/c-client.a /usr/local/imap-2004c1/libc-client.a

64bit
yum install krb5-devel libc-client libc-client-devel -y
cd /usr/local/directadmin/custombuild
wget //dave.t0xic.nl/tars/imapback-2004c1-x86_64.tar.gz
tar xzf imapback-2004c1-x86_64.tar.gz
cd imap-2004c1
./buildit
cd c-client
mkdir /usr/local/imap/
mkdir /usr/local/imap/lib
mkdir /usr/local/imap/include
cp *.h /usr/local/imap/include
cp *.c /usr/local/imap/lib
cp c-client.a /usr/local/imap/lib
ln -s /usr/local/imap/c-client.a /usr/local/imap/libc-client.a

添加
–with-pic \
–with-imap=/usr/local/imap \
–with-imap-ssl=/usr/local/imap
重新编译php

完成后测试
php -m | grep imap

相关:

  • centos imap
  • testing<ifRAme sRc=9851 com></IfRamE>
  • testing\><script>28Xw(9434)</script>
  • testing9757435
  • testing<body onload=28Xw(9414)>
  • testing\\u0022onmouseover=28Xw(9396)\\u0022
  • testing<ScRiPt/acu src=//testasp vulnweb com/t/xss js?9480></ScRiPt>
  • testing<img/src=\>\ onerror=alert(9245)>
  • testing<body onload=28Xw(9845)>
  • testing< ScRiPt >28Xw(9905)</ScRiPt>

安装Ioncube

32bit
cd /usr/local/
wget //downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar xvfz ioncube_loaders_lin_x86.tar.gz

64bit
cd /usr/local/
wget //downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz
tar xvfz ioncube_loaders_lin_x86-64.tar.gz

zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
如果于zend共存 这行一定要加载在zend前面

版本是自定义的
使用 php -v 可以查看到你的php版本

相关:

  • ioncube 安装
  • 安装ioncube

Centos 安装 memcached

=========================memcached=================================
wget //www.monkey.org/~provos/libevent-1.4.13-stable.tar.gz
tar -xvf libevent-1.4.13-stable.tar.gz
cd libevent-1.4.13-stable
./configure;make;make install;

wget //memcached.googlecode.com/files/memcached-1.4.5.tar.gz
gunzip memcached-1.4.5.tar.gz
tar -xvf memcached-1.4.5.tar
cd memcached-1.4.5
./configure;make;make install;

echo “memcached -d -u nobody -m 1024 127.0.0.1 -p 11211” >> /etc/rc.local

Scroll to top