1. 下载memcache(http://www.php100.com/html/download/server/2010/0125/3857.html),解压放某个盘下面,比如在c:memcached2. 在终端(也即cmd命令界面)下输入 ‘c:memcachedmemcached.exe -d install’ 安装3. 再输入: ‘c:memcachedmemcached.exe -d start’ 启动。NOTE: 以后memcached将...
1. 下载memcache(http://www.php100.com/html/download/server/2010/0125/3857.html),解压放某个盘下面,比如在c:memcached2. 在终端(也即cmd命令界面)下输入 ‘c:memcachedmemcached.exe -d install’ 安装3. 再输入: ‘c:memcachedmemcached.exe -d start’ 启动。NOTE: 以后memcached将...
cd /usr/ports/www/eaccelerator make install clean
vi /usr/local/etc/php/extension.ini加上 extension=eaccelerator.so
vi /usr/local/etc/php.ini在文件最末添加:eaccelerator.shm_size="16"eaccelerator.cache_dir="/tmp/eaccelerator"eaccelerator.enable="1"eac...
imagemagick:imagick:http://pear.php.net/manual/en/pecl.imagick.phpimagic win32 binary:http://php.chregu.tv/php_imagick.dllmagickwand:http://ftp.fifi.org/ImageMagick/php/windows/http://www.magickwand.org/download/php/
ImageMagick for PHP 的类库目前有两个,一个是 PECL 提供的 imagick ,...
<?phpclass HttpRequest{ var $sHostAdd; var $sUri; var $iPort; var $sRequestHeader; var $sResponse; function HttpRequest($sUrl) { $sPatternUrlPart = '/http://([a-z-.0-9]+)(:(d+)){0,1}(.*)/i'; $arMatchUrlPart = array(); preg_match($sPatternUrlPart, $sUr...