自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (1)
  • 收藏
  • 关注

翻译 PHP 在apache 工作方式

Question: PHP 在APACHE有几种工作方式 1. PHP Module:  预先生成几个子进程,有了REQUEST进来, 没有生成子进程的延迟。 处理完一个请求后不退出,等待下一个请求 2. CGI 一个请求过来后才启动一个进程,请求结束后进程也结束。 效率低下 3. fast-cgi apache启动后启动fast-cgi进程管理器,  同时进程管理器启动多个子进程

2012-09-19 16:48:10 327

翻译 APACHE MPM Multi process module

Question: 分析apache2 MPM机制 First: 1. prefork 没有线程 This Multi-Processing Module (MPM) implements a non-threaded, pre-forking web server that handles requests in a manner similar to Apache 1.3. It is

2012-09-19 16:03:05 351

原创 C strcmp

#include #include #include int main(){ char * str = "aquit"; int i = strcmp(str,"quit"); printf("strcmp equal %d \n",i); char * str2 = "qzuit"; int i2 = strcmp(str2,"quit"); prin

2012-09-18 16:28:21 539

原创 C sizeof 用法

#include #include #include int main(){ //printf("int length equal %d \n",sizeof(int));// print int length int var = 100; //printf("var length equal %d \n",sizeof(var)); //print variab

2012-09-18 15:57:18 476

原创 C strcpy 用法

1. C function strcpy 包含在 string.h 文件中 2. 复制字符串 #include #include #include int main(){   char *s="hello world \n"; char s2[2014]; strcpy(s2,s); printf("s2 equal %s \n",s2); return 0; }

2012-09-18 15:32:50 450

原创 LINUX Advanced program 有感

1. PHP用了5年白搭 2. 基础基本忘光

2012-09-18 15:20:23 302

jquery ajax upload file

jquery ajax upload file

2014-03-20

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除