![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务器
Liao倩
这个作者很懒,什么都没留下…
展开
-
emoji表情的处理和保存
将emoji表情装码保存到数据库中function emoji2str($str){ $strEncode = ''; $length = mb_strlen($str,'utf-8'); for ($i=0; $i < $length; $i++) { $_tmpStr = mb_substr($str,$i,1,'utf-8'); if(strlen($_tmpSt.原创 2020-12-12 16:52:52 · 897 阅读 · 0 评论 -
swoole安装
Linux 安装swool扩展:下载swoole安装包,我是在github上面下的,有多个版本,根据自己的php版本选择swoole版本,我是php7.2配置swoole4.3.3版本https://github.com/swoole/swoole-src【个人观点,不管swoole的压缩包在哪个目录下,关键是和php的文件匹配。文中标红】我下载到src文件夹下:$ cd /usr/local/src开始下载:$ wget https://github.com/swoole/swoole-s原创 2020-08-03 20:52:47 · 259 阅读 · 0 评论 -
菜鸟liunx入门服务器搭建
Centos 7防火墙开启端口的方法:(如果已开启就不用);firewall-cmd–zone=public --permanent --add-port=80/tcpfirewall-cmd --zone=public–permanent --add-port=3306/tc安装Apache1.安装yum install httpd2.开启apache服务service http...原创 2019-05-17 10:41:32 · 171 阅读 · 0 评论