Zimbra LDAP为其他应用提供验证服务之PHP版本
时间: 2011-09-25 - 分类: 榆树网-系统 - 无评论 - 857 views代码从php手册直接拿出来使用的,只是关于BaseDN和个别参数的设置稍作修改而已:
代码从php手册直接拿出来使用的,只是关于BaseDN和个别参数的设置稍作修改而已:
升级软件,最好是可以直接yum,实在不行有RPM包也可以,在不行就编译源代码了,幸好在CentOS的测试仓库里面有5.2版本的php,所以增加/etc/yum.repos.d/CentOS-Testing.repo文件,内容为:
Read the rest of this entry »
This problem occurs as an effect of apache beeing run as root. Though commands are still issued by the apache 'http' user, the home directory are for some reason still '/root'. Read the rest of this entry »
Nginx中通过FastCGI运行php的配置
location ~ .php$ {
fastcgi_pass 127.0.0.1:8888;
fastcgi_index index.php;
root /var/www/html;
include fastcgi.conf;
}