![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务器
文章平均质量分 72
Sanlings
这个作者很懒,什么都没留下…
展开
-
(随笔)PHP接口返回给小程序的数据格式
学习中刚刚涉及小程序数据交互,随笔记录一些问题。关于小程序请求服务器数据时返回数据的格式与操作服务端代码(PHP): 涉及到的MySQL类关键代码(简单写)public function query($sql){ return mysqli_query($this->conn,$sql); }public function getAll($sq原创 2018-01-22 15:57:01 · 6946 阅读 · 0 评论 -
VNC启动报错问题‘testdb:1 is taken because of’解决
遇到了启动桌面的VNC服务,收到报错的情况:vncserver :1错误:Warning: IDEACOM:1 is taken because of /tmp/.X1-lockRemove this file if there is no X server IDEACOM:1根据提示知道大概知道是以前的临时文件还存在,因此删除掉就OK:执行:rm -f /tmp/.X1-loc原创 2018-01-05 20:36:24 · 8792 阅读 · 0 评论 -
(记录)Mac下安装pear库+phpDocumentor
1.首先安装pear:curl -o go-pear.php http://pear.php.net/go-pear.phar看见这个就安装OK:% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload ...原创 2018-03-14 10:59:35 · 975 阅读 · 0 评论 -
CentOS修复yum和python2.x
好好的为什么要修复Yum?事情经过:测试机上的Python3.7不能正常使用Sqlite3,尝试了各种办法,环境变量、重编译…都不行,被逼无奈想着直接卸载掉Python3整个环境,清理干净,结果卸载时把Python3打成了Python,看着下面输出的路径是python,一下就回过神了…算了,删就删了,索性清理干净:[root@localhost prepapp]# whereis pyt...原创 2018-12-10 22:06:25 · 765 阅读 · 0 评论