linux

源码编译apache,让它支持ssl 的方法

  • 2016-09-22
  • 阅读(448)
  • 评论(1)
  • 1、 了解系统有没有安装openssl,应该默认都安装了。 2、 生成ssl证书 openssl genrsa -des3 -out ssl.key 1024然后他会要求你输入这个key文件的密码。不推荐输入。因为以后要给apache使用。由于生成时候必须输入密 ... ...

    源码编译apache,让它支持ssl 的方法

    linux

    CentOS-6.5下安装navicat for mysql

  • 2016-09-21
  • 阅读(492)
  • 评论(1
  • 一、安装前准备 安装epel源 安装wine 如果不安装wine,则可能会出现安装完navicat for mysql后无法启动的情况。二、安装epel源 cd /tmp wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.n ... ...

    CentOS-6.5下安装navicat for mysql

    linux

    centos系统使用setfacl报错Operation not supported

  • 2016-09-20
  • 阅读(470)
  • 评论(3
  • setfacl 挺好用,但是,有一次 出现了 Operation not supported 错误,后来发现是因为在挂载的时候,没有设定acl解决方法:重新修改/etc/fstab文件,加入acl选项/dev/vg/bak /mnt/bak ext3 defaults,acl 0 0保存,重 ... ...

    centos系统使用setfacl报错Operation not supported 解决方法

    php

    PHP 数据库操作类

  • 2016-09-19
  • 阅读(517)
  • 评论(0
  • ?phpclass db { //数据库连接 protected $mysqli; //表名 protected $table; //选项 protected $opt; /** * * 构造方法 * @param 表名 */ function __construct($tab_name) { $this-config ( $tab_name ); } /** * ... ...

    PHP 数据库操作类

    php

    PHP 分页处理类

  • 2016-09-18
  • 阅读(661)
  • 评论(1
  • class page{ private $total_rows;//总记录数 private $total_page;//总页数 private $onepage_rows;//每页显示行数 private $self_page;//当前页 private $url;//URL地址 ... ...

    PHP 分页处理类

    代码如下:  SELECT FORMAT(12562.6655,2);  结果:12,562.67  查看文档:Formats the number X to a format like '#,###,###.##', rounded to D decimal places, and returns the result as a string. If D is ... ...

    mysql格式化小数保留小数点后两位(小数点格式化)

    linux

    configure: error: Cannot find ldap libraries in /u

  • 2016-09-16
  • 阅读(537)
  • 评论(0
  • 今天在centos 6.5 64位版本上安装LNMP,config php的时候出现下面错误而退出configure: error: Cannot find ldap libraries in /usr/lib解决办法:cp -frp /usr/lib64/libldap* /usr/lib/然后再./configure ...即可 ... ...

    configure: error: Cannot find ldap libraries in /usr/lib 解决办法

    php

    PHP基础面试题

  • 2016-09-15
  • 阅读(652)
  • 评论(3
  •   一、PHP中几个输入函数echo, print(), print_r(), printf(), sprintf(), var_dump()的区别。    1.echo : 是语句不是函数,没有返回值,可输出多个变量值,不需要圆括号。不能输出数组和对象,只能打印简单 ... ...

    PHP基础面试题

    Yii

    yii2最简单式安装教程

  • 2016-09-14
  • 阅读(1134)
  • 评论(4
  • 最近有小伙伴私聊我,为啥都说Yii高大上,可是这尼玛怎么都安装不上喃?难道真是传说中的高大上,怎么回事喃?写一篇绝对堪称史上最easy的Yii2安装教程教你入门。既然是安装Yii,我们先去官网下载一份Yii的高级模版 ... ...

    yii2最简单式安装教程

    linux

    ./configure: error: SSL modules require the OpenSS

  • 2016-09-13
  • 阅读(661)
  • 评论(0
  • 安装nginx的时候出现./configure: error: SSL modules require the OpenSSL library. 解决方法:Centos需要安装openssl-devel Ubuntu则需要安装:sudo apt-get install libssl-dev如果上面方法不管用可以试试(针对于安 ... ...

    ./configure: error: SSL modules require the OpenSSL library 解决方法

    mysql

    Mysql Too many connections 解决方法

  • 2016-09-12
  • 阅读(750)
  • 评论(1
  • 有台作为web认证的服务器,最近经常有客户反应页面打不开。查看后台日志发现mysql连接报Too many connections,使用netstat网络工具查看连接状态,发现mysql连接数有1024个,其中TIME_WAIT状态的连接占了大多数。经 ... ...

    Mysql Too many connections 解决方法

    linux

    CentOS_6.5编译安装Nginx_1.9.0的方法

  • 2016-09-11
  • 阅读(739)
  • 评论(1
  • 1.安装依赖包和开发工具:yum install vim vim-enhanced wget zip unzip telnet ntsysv compat* apr* nasm* gcc gcc* gcc-c++ ntp make imake cmake automake autoconf zlib zlib-devel glibc glibc-devel glib2 lib ... ...

    CentOS_6.5编译安装Nginx_1.9.0的方法

    linux

    php5.5编译安装报错 struct flock 解决方法

  • 2016-09-10
  • 阅读(722)
  • 评论(1
  • 在对php进行安装的过程中出现如下错误:1、报错信息: checking for known struct flock definition... configure: error: Don't know how to define struct flock on this system, set --enable-opcache=no2、平台 ... ...

    php5.5编译安装报错 struct flock 解决方法

    linux

    error: xslt-config not found. Please reinstall the

  • 2016-09-09
  • 阅读(763)
  • 评论(0
  • 解决编译php扩展xsl时出现error: xslt-config not found. Please reinstall the libxslt = 1.1.0 distribution的问题,只需要执行: yum install libxslt-devel即可。*Tips: 如果要卸载通过yum install命令安装的某 ... ...

    error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution ...

    linux

    pdo_mysql.c:31 make: *** [pdo_mysql.lo] 错误 1 exp

  • 2016-09-08
  • 阅读(834)
  • 评论(0
  • 完整错误信息:pdo_mysql.c:31 make: *** 错误 1 expected specifier-qualifier-list before ‘MYSQL’/soft/PDO_MYSQL-1.0.2/php_pdo_mysql_int.h:25:19: 错误:mysql.h:没有那个文件或目录In file included from ... ...

    pdo_mysql.c:31 make: *** [pdo_mysql.lo] 错误 1 expected specifier-qualifier-list ...

    程序员电子书

    热门推荐

    友情链接