上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页
摘要: 方法一:默认情况下Ttp6不会显示错误信息,在开发环境下想要查看错误信息需要将Config目录下的app.php文件的show_error_msg改成true 但是这样显示的信息也不够完整, 要看到更多信息需要我们开启DEBUG,tp6模仿了Laravel,我们使用composer下载完tp框架后可 阅读全文
posted @ 2020-07-04 19:11 study_php_java_C++ 阅读(3600) 评论(0) 推荐(0) 编辑
摘要: 解决办法是打开public下的.htaccess文件, 把:RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L] 改为:RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1] 阅读全文
posted @ 2020-07-04 19:04 study_php_java_C++ 阅读(4131) 评论(0) 推荐(3) 编辑
摘要: 1. 查询Git最快的IP 通过 https://www.ipaddress.com/ 这个网站来获取当前github最新的ip分别获取以下两个域名的IP地址: 可以在访问git网站使用F12查询哪个域名访问最慢,就查询哪个域名的ip assets-cdn.github.com github.git 阅读全文
posted @ 2020-07-04 15:09 study_php_java_C++ 阅读(1404) 评论(0) 推荐(1) 编辑
摘要: excepInfo: select id,describe from iwebshop_student_problem where id=256 order by id desc -- You have an error in your SQL syntax; check the manual th 阅读全文
posted @ 2020-07-04 12:02 study_php_java_C++ 阅读(193) 评论(0) 推荐(0) 编辑
摘要: $ kill -QUIT 主进程号 例如:kill -QUIT 1708 这种方式相对来说会有一个停止的过程,先将子进程停止掉,然后再停掉主进程。 快速停止Nginx: $ kill -TERM 主进程号 这种会比上面那种方法速度快些。 强制停止Nginx: $ kill -9 主进程号 这种方式是 阅读全文
posted @ 2020-07-02 16:35 study_php_java_C++ 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: 这个在mysql5.7会报错: 如openid设为unique: 1062 - Duplicate entry 'oTfYq6PKne00IrcTqphmKqKnsahM' for key 'qx_wechat_openid_uindex' 阅读全文
posted @ 2020-07-02 14:34 study_php_java_C++ 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 微信开发中之前常用到$GLOBALS['HTTP_RAW_POST_DATA'] ,但升级后这个参数不见了,导致了一系列错误, 可以用 file_get_contents('php://input')来代替 php://input、$_POST与$GLOBALS['HTTP_RAW_POST_DAT 阅读全文
posted @ 2020-07-01 15:02 study_php_java_C++ 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 下面/usr/local/php5是php的安装目录 安装imagickcd /usr/local/srcwget http://pecl.php.net/get/imagick-3.0.1.tgz #下载imagicktar zxvf imagick-3.0.1.tgzcd imagick-3.0 阅读全文
posted @ 2020-06-30 18:08 study_php_java_C++ 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: 在php7版本的时候,mysql_connect已经不再被支持了,本文将讲述在代码层面实现php7兼容mysql系列,mysql_connect等操作。 PHP7不再兼容mysql系列函数,入mysql_connect等操作,强行操作报错:Uncaught Error: Call to undefi 阅读全文
posted @ 2020-06-28 10:24 study_php_java_C++ 阅读(3215) 评论(0) 推荐(0) 编辑
摘要: 命令: linux设置开机服务自动启动/关闭自动启动命令 [root@localhost ~]# chkconfig --list 显示开机可以自动启动的服务 [root@localhost ~]# chkconfig --add *** 添加开机自动启动***服务 [root@localhost 阅读全文
posted @ 2020-06-24 16:33 study_php_java_C++ 阅读(139) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 41 下一页