![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
tedpenk
这个作者很懒,什么都没留下…
展开
-
CentOS5 中安装 php 后启动 apache 报错:undefined symbol: xmlTextReaderSetup
./configure --prefix=/usr/local/php --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/libxml2 --with-zlib-dir=/usr/lib原创 2014-10-20 20:35:08 · 1404 阅读 · 0 评论 -
php mysqli 查询乱码问题
mysqli因为默认是latin-1编码,当你的页面时utf-8编码是,就会产生页面乱码问题。 mysqli乱码解决办法: $mysqli = new mysqli('localhost','root','password','dbname');//mysqli链接数据库的写法 //$mysqli->query("SET NAMES utf8");//写法一 $mysqli原创 2015-07-19 22:53:52 · 2423 阅读 · 0 评论