会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
study_php_java_C++
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
42
下一页
2020年6月24日
CentOS下安装libmcrypt失败
摘要: libmcrypt是什么?? 是加密算法扩展库 支持DES, 3DES, RIJNDAEL, Twofish, IDEA, GOST, CAST-256, ARCFOUR, SERPENT, SAFER+等算法 在安装时候出现如下错误: 出现该情况是由于c++编译器的相关package没有安装,以r
阅读全文
posted @ 2020-06-24 14:05 study_php_java_C++
阅读(414)
评论(0)
推荐(0)
2020年6月23日
Deprecated: __autoload() is deprecated, use spl_autoload_register()
摘要: Deprecated: __autoload() is deprecated, use spl_autoload_register() 解决:可能原因PHP版本过高,亲测discuz3.4版本使用php7.2.10会出现此bug,更换到php7.1以下就可以
阅读全文
posted @ 2020-06-23 16:06 study_php_java_C++
阅读(927)
评论(0)
推荐(0)
linux停止nginx服务 未成功
摘要: 在上线新功能的时候,需要将服务器停掉,防止在更新过程中有用户进行操作额外的数据。 1:查看nginx主进程: ps -ef | grep nginx 这里root 后面的数字表示:主进程号nginx后面的数字表示:子进程号然后停止nginx服务的时候第一: systemctl stop nginx
阅读全文
posted @ 2020-06-23 14:51 study_php_java_C++
阅读(2549)
评论(0)
推荐(0)
2020年6月22日
微信小程序函数间传递url的参数丢失问题
摘要: 可以使用encodeURIComponent():函数可把字符串作为 URI 组件进行编码。 可以使用decodeURIComponent():函数可把字符串作为 URI 组件进行解码。
阅读全文
posted @ 2020-06-22 16:19 study_php_java_C++
阅读(346)
评论(0)
推荐(0)
2020年6月18日
symfony2中mysql和mongodb的增删改查总结
摘要: https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/data-retrieval-and-manipulation.html#api $conn = $this->getDoctrine()->get
阅读全文
posted @ 2020-06-18 16:46 study_php_java_C++
阅读(249)
评论(0)
推荐(0)
symfony2 数据库原生查询
摘要: 1. 数组,没有键名 但只查询出第一个结果 $conn = $this->getDoctrine()->getConnection(); $data = $conn->fetchArray('SELECT * FROM user where id < 3'); // 或者 // $data = $c
阅读全文
posted @ 2020-06-18 14:01 study_php_java_C++
阅读(244)
评论(0)
推荐(0)
MySql WorkBench通过表生成表关系图
摘要: 1、mysql workbench 菜单file=>add model(添加模型) 点击上面的add diagram(添加新的图解),就会在右边多出一个新的图解模型 2,mysql workbench 菜单database=>reverse engineer mysql workbench 连接数据
阅读全文
posted @ 2020-06-18 10:03 study_php_java_C++
阅读(2695)
评论(0)
推荐(1)
2020年6月17日
symfony generate:bundle出现提示: Checking that the bundle is autoloaded
摘要: 可以参考官方文档给出来的解决办法 http://symfonychina.com/doc/current/bundles/SensioGeneratorBundle/commands/generate_bundle.html
阅读全文
posted @ 2020-06-17 16:51 study_php_java_C++
阅读(85)
评论(0)
推荐(0)
2020年6月16日
git撤销文件的修改
摘要: git撤销某个文件的修改,分为两种情况:1.在工作区修改,但并未提交到暂存区(即并没有add)。对于单个文件的撤销修改而言,使用下面方法。 git checkout -- 文件名 若想撤销工作区中所有文件的修改,则 git checkout . 注意:git chekcout 是让文件回到最近一次该
阅读全文
posted @ 2020-06-16 06:12 study_php_java_C++
阅读(1679)
评论(0)
推荐(0)
2020年6月15日
linux重启mysql
摘要: 一、 启动1、使用 service 启动:service mysql start2、使用 mysqld 脚本启动:/etc/inint.d/mysql start3、使用 safe_mysqld 启动:safe_mysql&二、停止1、使用 service 启动:service mysql stop
阅读全文
posted @ 2020-06-15 11:47 study_php_java_C++
阅读(556)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
42
下一页
公告