分类目录: 开发技术

两种方式建立Vsftpd虚拟用户

没有评论

2012年02月10日 at 1:30 下午分类目录:Linux | 开发技术

我们登录FTP有三种方式:

  • 匿名登录;
  • 本地用户登录;
  • 虚拟用户登录;

匿名登录:在登录FTP时使用默认的用户名,一般是ftp或anonymous。
本地用户登录:使用系统用户登录,在/etc/passwd中。
虚拟用户登录:这是FTP专有用户,有两种方式实现虚拟用户,本地[......]

Read more

Popularity: 2% [?]

Apache prefork和worker性能调优说明

没有评论

2012年02月10日 at 1:17 下午分类目录:Linux | 开发技术

prefork模式配置详解

<IfModule mpm_prefork_module>
    ServerLimit 256
    StartServers 5
    MinSpareServers 5
    MaxSpareServers 10
    MaxC[......]

Read more

Popularity: 1% [?]

PHP 很有用的一个函数 ignore_user_abort

没有评论

2012年02月3日 at 10:04 上午分类目录:PHP前沿 | 开发技术

ignore_user_abort 设置与客户机断开是否会终止脚本的执行。
本函数返回 user-abort 设置的之前的值(一个布尔值)。
int ignore_user_abort ([ string $value ] )

参数
描述

setting
可选。如果设[......]

Read more

Popularity: 3% [?]

Kohana 3.1 unittest在phpunit 3.6版本中出错的解决办法

没有评论

2011年12月2日 at 12:01 下午分类目录:PHP前沿 | 开发技术 | 软件测试

问题1:

modules\unittest\classes\kohana\unittest\tests.php中的$filter = PHP_CodeCoverage_Filter::getInstance();报错

处理办法:
//$filter = PHP_CodeCoverage[......]

Read more

Popularity: 8% [?]

php mail函数不能发送邮件解决办法(面板是LuManager 1.1.9)

没有评论

2011年12月1日 at 4:46 下午分类目录:Linux | 开发技术

修改/usr/local/php/lib/php.ini中的
;sendmail_path =
为以下代码
sendmail_path = /usr/bin/sendmail -t -i
修改完成后(重启apache)用如下代码测试
<?php
$to = ‘测试收件箱(最好使用g[......]

Read more

Popularity: 9% [?]

PHP技巧:php输出控制函数——ob系列的几个区别

没有评论

2011年11月30日 at 3:28 下午分类目录:PHP前沿

ob_start()这个当然是打开输出缓冲,无异议,当然有个ob_start(“ob_gzhandler”),这个是用gzip压缩优化大小,等于ob_gzhandler。

ob_flush()刷新输出缓冲,个人理解:ob中带flush的都是将缓冲区内容全部输出到浏览器。

ob_end()[......]

Read more

Popularity: 9% [?]

PhpStorm注册码(3.0以下都测试可用)

一条评论

2011年11月29日 at 11:30 下午分类目录:PHP前沿 | 开发技术

EMBRACE
===== LICENSE BEGIN =====
43136-12042010
00002UsvSON704l”dILe1PVx3y4″B3
49AU6oSDJrsjE8nMOQh”8HTDJHIUUh
gd1BebYc5U”6OxDbVsALB4Eb10PW8″
==[......]

Read more

Popularity: 30% [?]

Zend Studio 9 注册码 Zend Studio 9 破解方法

2 条评论

2011年11月26日 at 10:05 上午分类目录:PHP前沿 | 开发技术

注册破解步骤
第一步:如果已经安装过Zend Studio 9.0的,请打开Zend Studio 9.0,在菜单中“help>Unregister”,如果显示是灰的跳过此步退出Zend Studio。如果显示可以点击的请点击,这时Zend Studio会重启,重启到要求你填注册码时点“QU[......]

Read more

Popularity: 86% [?]

VisualBox下Linux与windows共享文件夹

没有评论

2011年11月18日 at 10:06 上午分类目录:Linux | 开发技术

1.在VisualBox中设备–分配数据空间–添加

2.然后起个名字(vbox),选择windows上的路径

3.在Linux下输入如下命令
# mkdir /mnt/share
# mount -t vboxsf vbox /mnt/share

4.查看是否成功
# c[......]

Read more

Popularity: 9% [?]

eclipse新建python项Project interpreter not specified

没有评论

2011年11月17日 at 5:21 下午分类目录:开发技术

安装好pydev后新建python项目时提示”Project interpreter not specified“的错误,这是因为没有导入python开发环境报所引起。

解决方法:
1.找到eclipse—->“窗口”—–>“首选项”.找到左侧栏边得pydev,展开,点[......]

Read more

Popularity: 20% [?]