摘要: 如果不知道当前使用的配置文件的路径,可以尝试下面的操作: # which mysqld /usr/local/mysql/bin/mysqld # /usr/local/mysql/bin/mysqld --verbose --help |grep -A 1 'Default options' 20 阅读全文
posted @ 2017-06-22 16:39 hechunhua 阅读(182) 评论(0) 推荐(0) 编辑
摘要: yum install -y gcc gcc-c++ make zlib zlib-devel pcre pcre-devel libjpeg libjpeg-devel libpng libpng-devel freetype freetype-devel libxml2 libxml2-deve 阅读全文
posted @ 2017-06-22 14:33 hechunhua 阅读(207) 评论(0) 推荐(0) 编辑
摘要: php的header来定义一个php页面为utf编码或GBK编码 php页面为utf编码 header("Content-type: text/html; charset=utf-8"); php页面为gbk编码 header("Content-type: text/html; charset=gb 阅读全文
posted @ 2017-06-22 10:52 hechunhua 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 修改\source\module\forum\forum_misc.php将 foreach(C::t('forum_ratelog')->fetch_all_sum_score($_G['uid'], $_G['timestamp']-86400) as $rate) { 改为 $todaytim 阅读全文
posted @ 2017-06-22 09:17 hechunhua 阅读(325) 评论(0) 推荐(0) 编辑