上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页
摘要: 转载 :https://my.oschina.net/u/3766399/blog/1836133/ 阅读全文
posted @ 2020-06-05 18:06 pengcx 阅读(2075) 评论(0) 推荐(0) 编辑
摘要: 转载: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 阅读(1463) 评论(0) 推荐(0) 编辑
摘要: public function simple_encode($string = '', $skey = 'tgmnvqufpg') { $strArr = str_split(base64_encode($string)); $strCount = count($strArr); foreach ( 阅读全文
posted @ 2020-04-08 11:50 pengcx 阅读(277) 评论(0) 推荐(0) 编辑
摘要: cmd 已管理员身份打开命令控制台 阅读全文
posted @ 2020-03-10 14:54 pengcx 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(109) 评论(0) 推荐(0) 编辑
摘要: <?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 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(84) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(894) 评论(0) 推荐(0) 编辑
摘要: [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 阅读(1058) 评论(0) 推荐(0) 编辑
摘要: 关闭防火墙 进入linux,修改etc/hosts文件,添加一行:比如 mirrors.163.com 59.111.0.251 阅读全文
posted @ 2020-01-14 10:37 pengcx 阅读(11285) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 24 下一页