Day: 09/16/2012

NGINX 环境下 DiscuzX 2.5 UCenter与应用 通信失败

目前LNMP 0.9禁用了部分危险函数:passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,
proc_get_status,ini_alter,ini_alter,ini_restore,dl,pfsockopen,openlog,syslog,
readlink,symlink,popepassthru,stream_socket_server,fsocket,fsockopen

由于禁用了pfsockopen、fsockopen 会造成以下三个常见问题:
1) Discuzx 的后台Ucenter 与应用通信失败,
2) 通过Socket连接SMTP无法发送邮件;
3) wordrpess的Akismet 无法工作。

Continue reading