会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
pengcx
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
2020年6月22日
php-fpm 启动报错 ERROR: unable to bind listening socket for address ’127.0.0.1:9000′
摘要: 1、killall php-fpm 2、systemctl start php-fpm
阅读全文
posted @ 2020-06-22 17:54 pengcx
阅读(1504)
评论(0)
推荐(0)
2020年6月5日
阿里云服务配置完nginx服务,还是不能访问的问题
摘要: 转载 :https://my.oschina.net/u/3766399/blog/1836133/
阅读全文
posted @ 2020-06-05 18:06 pengcx
阅读(2083)
评论(0)
推荐(0)
2020年6月3日
安装特定版本的OpenSSL
摘要: 转载:https://yq.aliyun.com/articles/512132 1、下载源码包: wget http://www.openssl.org/source/openssl-1.0.2d.tar.gz 2、安装到/usr/local/ssl/目录下: tar zxvf openssl-1
阅读全文
posted @ 2020-06-03 15:00 pengcx
阅读(1541)
评论(0)
推荐(0)
2020年4月8日
php实现简单的对称加解密
摘要: public function simple_encode($string = '', $skey = 'tgmnvqufpg') { $strArr = str_split(base64_encode($string)); $strCount = count($strArr); foreach (
阅读全文
posted @ 2020-04-08 11:50 pengcx
阅读(286)
评论(0)
推荐(0)
2020年3月10日
win10企业版激活
摘要: cmd 已管理员身份打开命令控制台
阅读全文
posted @ 2020-03-10 14:54 pengcx
阅读(176)
评论(0)
推荐(0)
2020年3月2日
php实现中文字符串反转
摘要: header("content-type:text/html;charset=UTF-8"); $length = mb_strlen($str);//mb_strlen($str)将一个多字节字符计为1个,详情见php手册 $array = []; for ($i = 0; $i < $lengt
阅读全文
posted @ 2020-03-02 18:21 pengcx
阅读(119)
评论(0)
推荐(0)
2020年2月27日
PHP中0、空、null和false的总结
摘要: <?php $test=0; if($test==''){ echo '<br />在php中,0即为空'; //被输出 } if($test ''){ echo '<br />在php中,0即为空'; //不被输出 } if($test==NULL){ echo '<br />在php中,0即为空
阅读全文
posted @ 2020-02-27 09:40 pengcx
阅读(336)
评论(0)
推荐(0)
2020年1月20日
mysql 相关操作
摘要: 1、登录: mysql -u root -p 2、查看当前有的数据库:show databases;3、创建数据库:create database 数据库名;4、操作(使用)数据库:use 数据库名;5、查看有哪些表:show tables;6、创建表:create table 表名(); 7、删除
阅读全文
posted @ 2020-01-20 15:21 pengcx
阅读(91)
评论(0)
推荐(0)
linux+nginx配置虚拟域名
摘要: 1、/usr/local/webserver/nginx/conf/ 下 nginx.conf文件 server_name 改成你想要配置的域名 ps:文件路径不一定是上述路径,find / -name "nginx.conf" 命令可以找到对应文件 2、vim /etc/hosts 加上 ip地址
阅读全文
posted @ 2020-01-20 10:16 pengcx
阅读(914)
评论(0)
推荐(0)
2020年1月17日
php-fpm启动失败
摘要: [22-Sep-2015 14:29:00] WARNING: Nothing matches the include pattern '/usr/local/php/etc/php-fpm.d/*.conf' from /usr/local/php/etc/php-fpm.conf at line
阅读全文
posted @ 2020-01-17 14:40 pengcx
阅读(1095)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
24
下一页
公告