![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php环境
bluebird2
这个作者很懒,什么都没留下…
展开
-
thinkphp6验证码不显示解决方案
此方法来源于网络转载解决方法有两个,一个是在验证码的imagepng输出图片代码调用之前用ob_clean清除php的输出缓冲区。还有就是使用一些工具批量对代码的bom进行去除。我这里使用的是ob_clean,在think-captcha的主文件Captcha.php的第229行之前加上ob_clean(),这样一劳永逸。如果对性能和稳定性有严苛要求,建议还是用工具批量去除bom比较保险。同时也建议大家随时在服务器上装一个editplus等专业的代码编辑器。不要用Windows的记事本修改代码。原创 2021-02-27 00:44:45 · 1716 阅读 · 0 评论 -
报错提示: The "https://getcomposer.org/versions" file could not be downloaded: failed to open stream:
报错提示:The "https://getcomposer.org/versions" file could not be downloaded: failed to open stream: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。The "https://getcomposer.org/download/1.2.0/composer.phar.sig" fi...转载 2019-06-20 03:03:01 · 11835 阅读 · 0 评论 -
win下phpinfo cmd php ver 版本不一致
在我的电脑,环境变量,最下面的path里添加新版本的php目录原创 2019-06-21 16:24:04 · 561 阅读 · 0 评论