摘要: nginx 设置默认虚拟 host listren 80 default_server 阅读全文
posted @ 2016-04-22 15:19 brady-wang 阅读(626) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # desc install php5.5 #add-apt-repository ppa:ondrej/php5 #apt-get install python-software-properties #apt-get update #apt-get install php 阅读全文
posted @ 2016-04-22 14:32 brady-wang 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 使用socket方式连接Nginx优化php-fpm性能 Nginx连接fastcgi的方式有2种:TCP和unix domain socket 什么是Unix domain socket?—— 维基百科Unix domain socket 或者 IPC socket是一种终端,可以使同一台操作系统 阅读全文
posted @ 2016-04-22 14:31 brady-wang 阅读(361) 评论(0) 推荐(0) 编辑
摘要: Ubuntu安装PHP时候出错--xml2-config not found. Ubuntu安装PHP时候出错--xml2-config not found. 在Ubuntu下接着安装php时候,在configure后,又出现错误提示:error: xml2-config not found. Pl 阅读全文
posted @ 2016-04-22 13:32 brady-wang 阅读(512) 评论(0) 推荐(0) 编辑
摘要: 起因: 在现有的 Apache + PHP 环境下,增加一个 PHP Extension 扩展时,遇到错误: Unable to initialize moduleModule compiled with module API=20090626PHP compiled with module API 阅读全文
posted @ 2016-04-22 13:28 brady-wang 阅读(405) 评论(0) 推荐(0) 编辑