---
title: "PHP完全手册- 缓存与静态化"
author: "vowtree"
date: "2011-06-02T11:01:58Z"
tags: []
categories: ["编程语言"]
slug: "php"
draft: false
lastmod: "2011-06-03T14:08:54Z"
id: 1068210
url: "https://vowtree.iteye.com/blog/1068210"
---

1\. apache  安装目录下的lib文件夹下  ab.exe 

ab \[options] \[http\[s]://]hostname\[:port]/path

options 指的是参数。常用 -n：执行访问的次数  -c:同时并发用户

例子：进入lib目录

ab -n 10000 -c 10 http://localhost/Test/newfile.php

 

2\.