Check server response of

Server response
NS records
Whois domain
Response headers
Request headers
Raw HTML code
301 Moved Permanently - phpzu.com
HTTP Status: 301
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Server: nginx
Date: Wed, 30 Apr 2025 17:04:36 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: PHPSESSID=8hlqqo33u8h6r0ikc1vmg4i1in; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: http://www.phpzu.com/
Strict-Transport-Security: max-age=31536000

HTTP Code 301 Moved Permanently

301 status code means that the requested resource has been permanently moved to a new URL. All future requests should use the new address.

When is Code 301 used?

  • When changing a website domain
  • When modifying URL structures
  • When setting up redirects for SEO

What does Code 301 mean for the user?

The browser will automatically redirect the user to the new address, and search engines will update their indexes.

200 OK - http://www.phpzu.com/
HTTP Status: 200
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
Server: nginx
Date: Wed, 30 Apr 2025 17:04:40 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
Set-Cookie: PHPSESSID=3sjo0hhk9lvqtaf8rlpkl5h0hb; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Link: <https://www.phpzu.com/wp-json/>; rel="https://api.w.org/"
Strict-Transport-Security: max-age=31536000

HTTP Code 200 OK

200 status code is a standard successful HTTP server response. It means that the client’s request (e.g., from a browser) was successfully processed, and the server is delivering the requested data.

When is Code 200 used?

  • When loading a web page
  • When successfully receiving an API response
  • When processing a form or another HTTP request

What does Code 200 mean for the user?

The user receives content without errors, and the page or application functions properly. If Code 200 is accompanied by data, the browser or program processes and displays it to the user.

GET / HTTP/1.1
Host: phpzu.com
Accept: */*
User-Agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>王炜的博客 | PHP族</title>
<meta name="keywords" content="王炜,王炜的博客,王伟的博客,王伟,PHP族,ZuPHP,前端技术网站,全栈工程师,vue,react,angular,php程序员" />
<meta name="description" content="王炜的个人博客,王炜,英文名Webber,目前就职于国内某知名互联网公司,专注于Web的全栈技术,著有PHP后端框架ZuPHP等。" />
<link href="http://static.phpzu.com/wp-content/themes/phpzu2023/style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="http://static.phpzu.com/wp-content/themes/phpzu2023/images/favicon.ico"/>
<link rel="alternate" type="application/rss+xml" title="王炜的博客 RSS Feed" href="https://www.phpzu.com/feed" />
<link rel="alternate" type="application/atom+xml" title="王炜的博客 Atom Feed" href="https://www.phpzu.com/feed/atom" />
<link rel="pingback" href="http://www.phpzu.com/xmlrpc.php" />
<script type="text/javascript" src="http://static.phpzu.com/wp-content/themes/phpzu2023/js/jquery.js"></script>
<script type="text/javascript" src="http://static.phpzu.com/wp-content/themes/phpzu2023/js/jquery_muchun.js"></script>
<link rel='dns-prefetch' href='//s.w.org' />
		<script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/www.phpzu.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=5.0.2"}};
			!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>
		<style type="text/css">
img.wp-smiley,
img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}
</style>
<link rel='stylesheet' id='wp-block-library-css'  href='https://static.phpzu.com/wp-includes/css/dist/block-library/style.min.css?ver=5.0.2' type='text/css' media='all' />
<link rel='stylesheet' id='wp-pagenavi-css'  href='http://static.phpzu.com/wp-content/plugins/wp-pagenavi/pagenavi-css.css?ver=2.70' type='text/css' media='all' />
<link rel='https://api.w.org/' href='https://www.phpzu.com/wp-json/' />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.phpzu.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.phpzu.com/wp-includes/wlwmanifest.xml" /> 

		<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
		<style>
   /* html {-webkit-filter: grayscale(100%);background:white;filter:progid:DXImageTransform.Microsoft.BasicImage(graysale=1);}*/
</style>
</head>
<body>
<!-- top strip #end -->
        <div id="nav">
        	<div id="nav_in">
				<div class="menu-top-nav-container"><ul id="menu-top-nav" class="menu"><li id="menu-item-940" class="menu-item menu-item-type-custom menu-item-object-custom current-menu-item menu-item-940"><a href="http://www.phpzu.com/">首页</a></li>
<li id="menu-item-1004" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1004"><a href="https://www.phpzu.com/article/category/big-front-end">大前端</a></li>
<li id="menu-item-941" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-941"><a href="/article/category/php">后端技术</a></li>
<li id="menu-item-1006" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1006"><a href="https://www.phpzu.com/article/category/operation">运维技术</a></li>
<li id="menu-item-1005" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1005"><a href="https://www.phpzu.com/article/category/lifethink">人生感悟</a></li>
<li id="menu-item-944" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-944"><a href="/article/category/other">其他</a></li>
</ul></div>		
                <div class="search">
                <form method="get" id="searchform" action="/">
                <input type="text" value="" name="s" id="s" class="textfield" placeholder="搜一搜"  x-webkit-speech />
                <input type="image" class="b_search" src="http://static.phpzu.com/wp-content/themes/phpzu2023/images/b_search.png" alt="Submit button" />
                </form>
                </div> 
            </div> 
        </div><!-- nav #end -->
        		<div id="header">
        	<div id="header_in">
                  <div class="logo"><a href="https://www.phpzu.com" title="王炜的博客" ><img src="http://static.phpzu.com/wp-content/themes/phpzu2023/images/logo.png" alt="王炜的博客" /></a>
        		  </div>
		
											
          <div class="header_right" style="padding-top: 7px;width: 606px;">
                    <img src="https://static.phpzu.com/wp-content/themes/phpzu2023/images/ad.jpg" width="100%" height="100%" />                 </div>
            
            </div>
        </div><!-- header #end -->
			<div id="wrapper" class="clearfix">
 		<div id="art_container clearfix">
 			<div id="art_main" class="fl"> 
										
					
								<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2022/08/18/1011.html" title="flex布局中属性justify-content失效" target="_blank">flex布局中属性justify-content失效</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						
1)采用在flex布局时,其影响的子元素中不能含有margin:auto;否则会导致属性justify-content失效。



2)父元素未设置高度,不能撑开。在查看的时候误以为不生效。




...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2022/08/18/1011.html" title="flex布局中属性justify-content失效" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/big-front-end/css3" rel="category tag">css3</a>, <a href="https://www.phpzu.com/article/category/big-front-end" rel="category tag">大前端</a></span>| 
						<span>浏览 :  2,442 次</span>| 
						<span><a href="https://www.phpzu.com/article/2022/08/18/1011.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2021/04/09/975.html" title="mysql如何开启高速缓存?" target="_blank">mysql如何开启高速缓存?</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						
mysql可以对相同的语句的查询结果进行缓存,用户下次再次执行相同select语句的时候如果命中缓存,不会再次解析,会直接返回缓存数据。



一、如何查询高速缓存是否开启



我们通过下面命令可以查询当前数据库是否已开启show variables like '%query_cache%';







必须满足两个条件才是开启状...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2021/04/09/975.html" title="mysql如何开启高速缓存?" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/backend/mysql" rel="category tag">MySQL</a>, <a href="https://www.phpzu.com/article/category/backend/mysql/mysqlup" rel="category tag">mysql提升</a>, <a href="https://www.phpzu.com/article/category/backend" rel="category tag">后端技术</a></span>| 
						<span>浏览 :  3,737 次</span>| 
						<span><a href="https://www.phpzu.com/article/2021/04/09/975.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2020/03/21/960.html" title="php导出excel文件" target="_blank">php导出excel文件</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						
在项目根目录下使用composer安装(composer工具如何使用?点击进入) composer require phpoffice/phpspreadsheet:1.6.* 由于phpexcel不再维护,推荐使用phpspreadsheet



&lt;?php
require '../vendor/autoload.php';
...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2020/03/21/960.html" title="php导出excel文件" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/backend/php/phphight" rel="category tag">PHP提升</a>, <a href="https://www.phpzu.com/article/category/other" rel="category tag">其他</a></span>| 
						<span>浏览 :  4,031 次</span>| 
						<span><a href="https://www.phpzu.com/article/2020/03/21/960.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2019/02/20/953.html" title="多张图片和图片之间有亮线" target="_blank">多张图片和图片之间有亮线</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						
 你可能遇到过 ,网页多张连续图片时,图片之间有白线的问题,然后一搜索网上答案都是让你设定图片display:block 然后还是不能解决。 



 然后有的iphone机正常,安卓和模拟器上却有问题。这个原因可能是由于网页的视口缩放引起的。解决方法:给图片添加 margin:-1px  即可。




...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2019/02/20/953.html" title="多张图片和图片之间有亮线" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/big-front-end/css3" rel="category tag">css3</a>, <a href="https://www.phpzu.com/article/category/big-front-end" rel="category tag">大前端</a></span>| 
						<span>浏览 :  11,392 次</span>| 
						<span><a href="https://www.phpzu.com/article/2019/02/20/953.html#comments">评论 : </a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2018/02/03/931.html" title="docker 安装 lnmp环境" target="_blank">docker 安装 lnmp环境</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						
一 安装mysql

1,docker pull mysql:5.6

2,docker run -d -p 3307:3306 -e MYSQL_ROOT_PASSWORD=**** --name ww_mysql mysql:5.6
参数说明
-d 让容器在后台运行
-p 添加主机到容器的端口映射
-e 设置环境变量,这里是设置my...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2018/02/03/931.html" title="docker 安装 lnmp环境" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/operation/docker" rel="category tag">docker</a></span>| 
						<span>浏览 :  5,018 次</span>| 
						<span><a href="https://www.phpzu.com/article/2018/02/03/931.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2018/01/04/929.html" title="html布局中如何让 最外层div的 height 100% 起作用?" target="_blank">html布局中如何让 最外层div的 height 100% 起作用?</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						浏览器是如何计算高度和宽度的
Web浏览器在计算有效宽度时会考虑浏览器窗口的打开宽度。如果你不给宽度设定任何缺省值,那浏览器会自动将页面内容平铺填满整个横向宽度。
但是高度的计算方式完全不一样。事实上,浏览器根本就不计算内容的高度,除非内容超出了视窗范围(导致滚动条出现)。或者你给整个页面设置一个绝对高度。否则,浏览器就会简单的让内容...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2018/01/04/929.html" title="html布局中如何让 最外层div的 height 100% 起作用?" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/big-front-end/css3" rel="category tag">css3</a></span>| 
						<span>浏览 :  5,232 次</span>| 
						<span><a href="https://www.phpzu.com/article/2018/01/04/929.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2017/12/22/926.html" title="腾讯云安装 swoole开启http服务 外网无法访问?" target="_blank">腾讯云安装 swoole开启http服务 外网无法访问?</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						1,swoole监听的端口没开

在腾讯云控制台中 配置安全组  添加入站规则   0.0.0.0/0   ----&gt;  tcp:9501

&nbsp;

2, swoole 127.0.0.1修改成localhost

$http = new swoole_http_server("localhost", 950...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2017/12/22/926.html" title="腾讯云安装 swoole开启http服务 外网无法访问?" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/other" rel="category tag">其他</a></span>| 
						<span>浏览 :  5,756 次</span>| 
						<span><a href="https://www.phpzu.com/article/2017/12/22/926.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2017/09/21/924.html" title="php安装时 配置configure 常用项" target="_blank">php安装时 配置configure 常用项</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						 ./configure --prefix=/usr/local/php7 \ --with-config-file-path=/usr/local/php7/etc \ --with-config-file-scan-dir=/usr/local/php7/etc/php.d \ --with-mcrypt=/usr/include \...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2017/09/21/924.html" title="php安装时 配置configure 常用项" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/backend/php" rel="category tag">php</a>, <a href="https://www.phpzu.com/article/category/backend/php/php_base" rel="category tag">php基础</a></span>| 
						<span>浏览 :  4,727 次</span>| 
						<span><a href="https://www.phpzu.com/article/2017/09/21/924.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2017/08/01/920.html" title="windows下安装git" target="_blank">windows下安装git</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						1,下载
https://git-for-windows.github.io/

2,配置账号
首选运行git bash
$ git config --global user.name "Your Name" $ git config --global user.email "[email protected]"

3,创建...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2017/08/01/920.html" title="windows下安装git" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/other" rel="category tag">其他</a></span>| 
						<span>浏览 :  4,267 次</span>| 
						<span><a href="https://www.phpzu.com/article/2017/08/01/920.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2017/07/04/918.html" title="PHP中的Generator生成器" target="_blank">PHP中的Generator生成器</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						Generator提供了一种方便的实现简单的Iterator(迭代器)的方式,使用Generator实现Iterator不需要创建一个类来继承Iterator接口。
Iterator接口
如果想搞清楚Generator,需要先了解Iterator接口。我们通常使用foreach对数组进行遍历,如果要对对象进行遍历,那么这个对象的类就必...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2017/07/04/918.html" title="PHP中的Generator生成器" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/backend/php" rel="category tag">php</a>, <a href="https://www.phpzu.com/article/category/backend/php/phphight" rel="category tag">PHP提升</a></span>| 
						<span>浏览 :  4,604 次</span>| 
						<span><a href="https://www.phpzu.com/article/2017/07/04/918.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2017/01/22/913.html" title="Linux下which、whereis、locate、find 命令的区别" target="_blank"> Linux下which、whereis、locate、find 命令的区别...</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						我们经常在linux要查找某个文件,但不知道放在哪里了,可以使用下面的一些命令来搜索。
which 查看可执行文件的位置
whereis 查看文件的位置
locate 配合数据库查看文件位置
find 实际搜寻硬盘查询文件名称

1、which
语法:
[root@redhat ~]# which 可执行文件名称
例如:...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2017/01/22/913.html" title="Linux下which、whereis、locate、find 命令的区别" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/operation/linux" rel="category tag">linux</a></span>| 
						<span>浏览 :  4,411 次</span>| 
						<span><a href="https://www.phpzu.com/article/2017/01/22/913.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2016/11/04/907.html" title="nginx访问控制 ngx_http_access_module之 allow、deny详解" target="_blank">nginx访问控制 ngx_http_access_module之 allow、de...</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						只看nginx模块名ngx_http_access_module,很多人一定比较陌生,但是说到deny和allow相比没一个人不知道的,实际上deny和allow指令属于ngx_http_access_module.我们想控制某个uri或者一个路径不让人访问,在nginx中就得靠它了。

nginx的访问控制模块语法很简单,至少比ap...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2016/11/04/907.html" title="nginx访问控制 ngx_http_access_module之 allow、deny详解" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/operation/linux" rel="category tag">linux</a></span>| 
						<span>浏览 :  4,163 次</span>| 
						<span><a href="https://www.phpzu.com/article/2016/11/04/907.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2016/06/19/903.html" title="将Centos的yum源更换为国内的阿里云源" target="_blank">将Centos的yum源更换为国内的阿里云源</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						


阿里云Linux安装镜像源地址:http://mirrors.aliyun.com/

CentOS系统更换软件安装源
第一步:备份你的原镜像文件,以免出错后可以恢复。

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
第二步...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2016/06/19/903.html" title="将Centos的yum源更换为国内的阿里云源" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/operation/linux" rel="category tag">linux</a></span>| 
						<span>浏览 :  31,706 次</span>| 
						<span><a href="https://www.phpzu.com/article/2016/06/19/903.html#comments">评论 : </a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2016/06/18/894.html" title="惠新宸:我也曾经是“不适合”编程的人(转载)" target="_blank">惠新宸:我也曾经是“不适合”编程的人(转载)</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						惠新宸@Laruence,是国内最有影响力的PHP技术专家,PHP开发组核心成员,PECL开发者,Zend公司外聘顾问。他曾供职于雅虎,百度,现在新浪微博任平台及数据部总架构师兼首席PHP顾问。惠新宸 是PHP NG核心开发者,PHP5.4,5.5的主要开发者。作为PECL开发者贡献了Yaf ,Yar以及Yac、Taint等多个优秀开源作...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2016/06/18/894.html" title="惠新宸:我也曾经是“不适合”编程的人(转载)" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/other" rel="category tag">其他</a></span>| 
						<span>浏览 :  4,770 次</span>| 
						<span><a href="https://www.phpzu.com/article/2016/06/18/894.html#respond">暂无评论</a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="art_img_box clearfix">
	
    <div class="fr box_content">
					<h2><a href="https://www.phpzu.com/article/2016/06/18/891.html" title="memcache中的add和set方法区别" target="_blank">memcache中的add和set方法区别</a></h2>  	
						
                    <div class="jiange"></div>
					<p class="intro">
						相信大家对memcache都不陌生,在项目中也经常使用memcache作为缓存方案。

那么在使用过程中有没有发现为什么memcahce有两个添加缓存的方法:一个是add,一个是set,那么你知道这2个方法有什么不同吗?

什么时候该使用add?什么时候该使用set呢?

对于这点以前自己也没有去深究,只知道要添加缓存的用se...					</p>
					<ul class="clearfix"></ul>
                            <div class="view_article"><a href="https://www.phpzu.com/article/2016/06/18/891.html" title="memcache中的add和set方法区别" target="_blank">阅读全文...</a>
					<div class="info">
                      
						<span>发布在 : <a href="https://www.phpzu.com/article/category/backend/php" rel="category tag">php</a>, <a href="https://www.phpzu.com/article/category/backend/php/phphight" rel="category tag">PHP提升</a></span>| 
						<span>浏览 :  5,757 次</span>| 
						<span><a href="https://www.phpzu.com/article/2016/06/18/891.html#comments">评论 : </a>»</span>
						<span></span>      
						<span></span>
					</div>
					</div>
      </div>
        </div>
				<div class="page_navi"><a href='https://www.phpzu.com/' class='current'>1</a><a href='https://www.phpzu.com/page/2'>2</a><a href='https://www.phpzu.com/page/3'>3</a><a href='https://www.phpzu.com/page/4'>4</a><a href='https://www.phpzu.com/page/5'>5</a><a href='https://www.phpzu.com/page/6'>6</a><a href='https://www.phpzu.com/page/7'>7</a><a href='https://www.phpzu.com/page/8'>8</a><a href='https://www.phpzu.com/page/9'>9</a><a href='https://www.phpzu.com/page/10'>10</a><a href="https://www.phpzu.com/page/2" > 下一页 </a><a href='https://www.phpzu.com/page/11' class='extend' title='跳转到最后一页'> 最后一页 </a></div>
			</div><!-- art_main end-->

<div id="sider" class="fr">

								
				<div class="widget widget_recent_entries">		<h3>近期文章</h3>		<ul>
											<li>
					<a href="https://www.phpzu.com/article/2022/08/18/1011.html">flex布局中属性justify-content失效</a>
									</li>
											<li>
					<a href="https://www.phpzu.com/article/2021/04/09/975.html">mysql如何开启高速缓存?</a>
									</li>
											<li>
					<a href="https://www.phpzu.com/article/2020/03/21/960.html">php导出excel文件</a>
									</li>
											<li>
					<a href="https://www.phpzu.com/article/2019/02/20/953.html">多张图片和图片之间有亮线</a>
									</li>
											<li>
					<a href="https://www.phpzu.com/article/2018/02/03/931.html">docker 安装 lnmp环境</a>
									</li>
					</ul>
		</div><div class="widget widget_recent_comments"><h3>近期评论</h3><ul id="recentcomments"><li class="recentcomments"><span class="comment-author-link"><a href='https://www.phpzu.com/?url=www.phpzu.com' rel='external nofollow' class='url'>小白小白</a></span>发表在《<a href="https://www.phpzu.com/article/2019/02/20/953.html#comment-1511">多张图片和图片之间有亮线</a>》</li><li class="recentcomments"><span class="comment-author-link">再见大海绵</span>发表在《<a href="https://www.phpzu.com/article/2014/09/16/566.html#comment-305">读《淘宝的“扫地僧”》有感</a>》</li><li class="recentcomments"><span class="comment-author-link">PHP程序员雷雪松</span>发表在《<a href="https://www.phpzu.com/article/2016/06/19/903.html#comment-271">将Centos的yum源更换为国内的阿里云源</a>》</li><li class="recentcomments"><span class="comment-author-link">PHP小鸟</span>发表在《<a href="https://www.phpzu.com/article/2016/06/18/891.html#comment-253">memcache中的add和set方法区别</a>》</li><li class="recentcomments"><span class="comment-author-link"><a href='https://www.phpzu.com/?url=http://www.ywlist.com/submit.asp' rel='external nofollow' class='url'>网站收录提交入口</a></span>发表在《<a href="https://www.phpzu.com/article/2015/10/22/872.html#comment-236">html5在iphone上视频不全屏播放设置</a>》</li></ul></div><div class="widget widget_archive"><h3>文章归档</h3>		<ul>
			<li><a href='https://www.phpzu.com/article/2022/08'>2022年八月</a></li>
	<li><a href='https://www.phpzu.com/article/2021/04'>2021年四月</a></li>
	<li><a href='https://www.phpzu.com/article/2020/03'>2020年三月</a></li>
	<li><a href='https://www.phpzu.com/article/2019/02'>2019年二月</a></li>
	<li><a href='https://www.phpzu.com/article/2018/02'>2018年二月</a></li>
	<li><a href='https://www.phpzu.com/article/2018/01'>2018年一月</a></li>
	<li><a href='https://www.phpzu.com/article/2017/12'>2017年十二月</a></li>
	<li><a href='https://www.phpzu.com/article/2017/09'>2017年九月</a></li>
	<li><a href='https://www.phpzu.com/article/2017/08'>2017年八月</a></li>
	<li><a href='https://www.phpzu.com/article/2017/07'>2017年七月</a></li>
	<li><a href='https://www.phpzu.com/article/2017/01'>2017年一月</a></li>
	<li><a href='https://www.phpzu.com/article/2016/11'>2016年十一月</a></li>
	<li><a href='https://www.phpzu.com/article/2016/06'>2016年六月</a></li>
	<li><a href='https://www.phpzu.com/article/2016/04'>2016年四月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/10'>2015年十月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/09'>2015年九月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/07'>2015年七月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/06'>2015年六月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/05'>2015年五月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/04'>2015年四月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/02'>2015年二月</a></li>
	<li><a href='https://www.phpzu.com/article/2015/01'>2015年一月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/12'>2014年十二月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/11'>2014年十一月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/10'>2014年十月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/09'>2014年九月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/08'>2014年八月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/07'>2014年七月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/06'>2014年六月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/05'>2014年五月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/04'>2014年四月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/03'>2014年三月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/02'>2014年二月</a></li>
	<li><a href='https://www.phpzu.com/article/2014/01'>2014年一月</a></li>
	<li><a href='https://www.phpzu.com/article/2013/11'>2013年十一月</a></li>
		</ul>
		</div><div class="widget widget_categories"><h3>分类目录</h3>		<ul>
	<li class="cat-item cat-item-41"><a href="https://www.phpzu.com/article/category/big-front-end/css3" title="css3">css3</a>
</li>
	<li class="cat-item cat-item-46"><a href="https://www.phpzu.com/article/category/operation/docker" >docker</a>
</li>
	<li class="cat-item cat-item-7"><a href="https://www.phpzu.com/article/category/lifethink/internet" >IT那点事</a>
</li>
	<li class="cat-item cat-item-20"><a href="https://www.phpzu.com/article/category/backend/java" title="java知识">java</a>
</li>
	<li class="cat-item cat-item-58"><a href="https://www.phpzu.com/article/category/big-front-end/javascript" title="javascript">javascript</a>
</li>
	<li class="cat-item cat-item-10"><a href="https://www.phpzu.com/article/category/operation/linux" >linux</a>
</li>
	<li class="cat-item cat-item-9"><a href="https://www.phpzu.com/article/category/backend/mysql" >MySQL</a>
</li>
	<li class="cat-item cat-item-28"><a href="https://www.phpzu.com/article/category/backend/mysql/mysqlbase" title="mysql基础">mysql基础</a>
</li>
	<li class="cat-item cat-item-29"><a href="https://www.phpzu.com/article/category/backend/mysql/mysqlup" title="mysql提升">mysql提升</a>
</li>
	<li class="cat-item cat-item-8"><a href="https://www.phpzu.com/article/category/backend/php" >php</a>
</li>
	<li class="cat-item cat-item-24"><a href="https://www.phpzu.com/article/category/backend/php/php_func_compare" title="类似函数的对比">php函数对比</a>
</li>
	<li class="cat-item cat-item-15"><a href="https://www.phpzu.com/article/category/backend/php/php_base" title="php基础">php基础</a>
</li>
	<li class="cat-item cat-item-45"><a href="https://www.phpzu.com/article/category/backend/php/phpbase" title="php入门经典">PHP基础教程</a>
</li>
	<li class="cat-item cat-item-18"><a href="https://www.phpzu.com/article/category/backend/php/phphight" >PHP提升</a>
</li>
	<li class="cat-item cat-item-16"><a href="https://www.phpzu.com/article/category/backend/php/php_array" >PHP数组处理</a>
</li>
	<li class="cat-item cat-item-23"><a href="https://www.phpzu.com/article/category/backend/php/phpspecialext" title="php生成特殊格式文件">php生成特殊格式文件</a>
</li>
	<li class="cat-item cat-item-22"><a href="https://www.phpzu.com/article/category/backend/php/phpspecial" title="php疑难杂症">php疑难杂症</a>
</li>
	<li class="cat-item cat-item-11"><a href="https://www.phpzu.com/article/category/lifethink" title="人生感悟">人生感悟</a>
</li>
	<li class="cat-item cat-item-1"><a href="https://www.phpzu.com/article/category/other" >其他</a>
</li>
	<li class="cat-item cat-item-57"><a href="https://www.phpzu.com/article/category/backend" >后端技术</a>
</li>
	<li class="cat-item cat-item-48"><a href="https://www.phpzu.com/article/category/big-front-end" >大前端</a>
</li>
	<li class="cat-item cat-item-17"><a href="https://www.phpzu.com/article/category/webcode" title="webcode">常用代码</a>
</li>
	<li class="cat-item cat-item-36"><a href="https://www.phpzu.com/article/category/algorithm" title="程序算法">程序算法</a>
</li>
		</ul>
</div>		
	<div id="rollstart"></div>
								<div class="clear"></div>
</div>
</div> 
</div><!-- //wrapper -->
<!-- //底部模板 -->
<div class="footer">
		<!--<div class="bottom_nav  clearfix"><div class="menu"></div>
</div>		<div class="footer_nav clearfix" >-->
    <div class="bottom_nav  clearfix">
	<ul style="width:960px;margin:0 auto;text-align:left;">
			</ul>
    </div>		
    <div class="footer_nav clearfix" >
        <p><a href="https://beian.miit.gov.cn/" target="_blank">苏ICP备18015036号-1 </a> 版权所有 王炜 <div style="display:none;"><script type="text/javascript">document.write(unescape("%3Cspan id='cnzz_stat_icon_1279828142'%3E%3C/span%3E%3Cscript src='https://s4.cnzz.com/z_stat.php%3Fid%3D1279828142' type='text/javascript'%3E%3C/script%3E"));</script></div></p>
    </div>
</div><!--wrapmain-->
 <script type='text/javascript' src='https://static.phpzu.com/wp-includes/js/wp-embed.min.js?ver=5.0.2'></script>
		<div id="shangxia"><div id="shang" title="↑ 返回顶部"></div>
				<div id="xia" title="↓ 移至底部"></div>
</div>
<script language="javascript">
$(function(){
	$(window).scroll(function(){
		if($(window).scrollTop()>115){
			$("#nav").css({'position':'fixed','width':'100%','z-index':1000,'height':'44px','top':0});
		} else {
			$("#nav").css({'position':'','width':'','z-index':'','height':'','top':''});
		}
	})
})
</script>
</body>
</html>
                               

Whois info of domain