By 张鹏, on 06月 17th, 2010%
http://valokuva.org/builds/ 这里下载编译好的二进制版本
注意ImageMagick相应的配套版本是 6.6.2-Q16-windows-dll,可以
php版本 5.3.2 MSVC9 (Visual C++ 2008) thread-safe
注意ImageMagick安装在c:\imagemagick ,然后把里面的dll 复制到windows\system32目录,然后从起计算机
我大了个包,可以在下面下载
6.17日更新 : 今晚我在我得X60下面测试,干净的系统,没有COPY dll文件到windows/system32目录,系统一样ok,看来跟版本的关系高度相关,dll copy不是必须的。
By 张鹏, on 02月 11th, 2009%
出于安全性考虑,我们在cookie中保存了经过AES加密的关键信息,在存入cookie以前,密文经过了base64编码,然后我们在用$_COOKIE变量直接读取的时候,发现PHP自动过滤了密文中的+号,经过研究PHP的代码,发现在存入$_COOKIE以前,系统自动做了URLENCODE,解决的办法也很简单,
从$_SERVER["HTTP_COOKIE"],里面取出一个包含所以cookie内容的字符串,然后自己解析,即可。
By 张鹏, on 12月 23rd, 2008%
本文系摇篮网同事,范晓涛在工作中总结的,希望能对大家有帮助
一、下载地址: lighttpd:http://www.lighttpd.net/download php:http://www.php.net/downloads.php 使用wget命令,下载到本地
二、安装: 解压,使用:tar -xzvf path 1.安装lighttpd ./configure –prefix=/home/lighttpd make make install 将doc下的lighttpd.conf文件拷贝到/home/lighttpd/etc下
2.安装php ./configure –prefix=/home/php –enable-fastcgi –enable-force-cgi-redirect –enable-zend-multibyte –with-config-file-path=/home/php/etc –enable-discard-path –with-jpeg-dir –with-png-dir –with-zlib –enable-xml –enable-mbstring –with-mysql=/home/mysql make make install 将php.ini文件拷贝到/home/php/etc下
三、配置 1.配置lighttpd server.document-root = “/home/fxt/www/discuz” #程序路径
四、lighttpd模块介绍 lighttpd 主要参考页面:
http://redmine.lighttpd.net/wiki/lighttpd/Docs
“mod_rewrite”, “mod_redirect”, “mod_access”, “mod_fastcgi”, “mod_expire”, “mod_compress”
主要介绍以上模块:
1.mod_rewrite模块: lighttpd不支持像apache中的.htaccess文件跳转,所以将.htaccess中的内容全部写到lighttpd.conf中去。 格式: . . . → Read More: lighttpd + php 详细配置指导
朋友评论