上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 41 下一页
摘要: 在php扩展memcached中执行./configure --with-php-config=/usr/local/php/bin/php-config 报错: error: memcached support requires libmemcached. Use --with-lib memca 阅读全文
posted @ 2020-06-24 16:15 study_php_java_C++ 阅读(809) 评论(0) 推荐(0) 编辑
摘要: 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++ 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 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++ 阅读(853) 评论(0) 推荐(0) 编辑
摘要: 在上线新功能的时候,需要将服务器停掉,防止在更新过程中有用户进行操作额外的数据。 1:查看nginx主进程: ps -ef | grep nginx 这里root 后面的数字表示:主进程号nginx后面的数字表示:子进程号然后停止nginx服务的时候第一: systemctl stop nginx 阅读全文
posted @ 2020-06-23 14:51 study_php_java_C++ 阅读(2277) 评论(0) 推荐(0) 编辑
摘要: 可以使用encodeURIComponent():函数可把字符串作为 URI 组件进行编码。 可以使用decodeURIComponent():函数可把字符串作为 URI 组件进行解码。 阅读全文
posted @ 2020-06-22 16:19 study_php_java_C++ 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 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++ 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 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++ 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 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++ 阅读(2547) 评论(0) 推荐(1) 编辑
摘要: 可以参考官方文档给出来的解决办法 http://symfonychina.com/doc/current/bundles/SensioGeneratorBundle/commands/generate_bundle.html 阅读全文
posted @ 2020-06-17 16:51 study_php_java_C++ 阅读(75) 评论(0) 推荐(0) 编辑
摘要: git撤销某个文件的修改,分为两种情况:1.在工作区修改,但并未提交到暂存区(即并没有add)。对于单个文件的撤销修改而言,使用下面方法。 git checkout -- 文件名 若想撤销工作区中所有文件的修改,则 git checkout . 注意:git chekcout 是让文件回到最近一次该 阅读全文
posted @ 2020-06-16 06:12 study_php_java_C++ 阅读(1660) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 41 下一页