原创 centos docker error Couldn't connect to Docker daemon at

docker error Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?   我在centos7環境,直接執行  

原创 go:missing Git command

在使用Go命令時出現上面的錯誤,其原因大概有兩種:一是沒有安裝Git;二是雖然安裝了Git,但環境變量沒設置或設置有問題。針對不同的原因,解決辦法如下: 安裝Git 主要有兩種安裝方式:一種是通過編譯源代碼來安裝;另一種是使用爲特定平臺預

原创 centos7 php7 安裝擴展包 php -m 可以查看擴展包 phpinfo 中看不到

安裝php7.2 版本gd的三種命令 yum install php72w-gd yum install php72u-gd yum install php72-gd 坑1:安裝完成沒有重啓 坑1:linuxphp 安裝擴展包安裝路徑與p

原创 libzip-1.3.0 - ZipArchive 安裝

  (1)wget https://libzip.org/download/libzip-1.3.0.tar.gz tar -zxvf libzip-1.2.0.tar.gz cd libzip-1.2.0 ./configur

原创 PHP7 解決 java對應的 AES/ECB/PKCS5Padding 算法

坑一:php和Java的密鑰是不同的 坑二:php7默認是PKCS7Padding填充的  而且沒有PKCS5Padding填充的方式 下面代碼的重點就是:將Java給的密鑰base64_decode一下 不知道php沒有pkcs5pad

原创 golang beego 常見問題

  beego.AppConfig.String取不出默認配置的值

原创 CentOS 7+環境下PHP使用Imagick+ghostscript將PDF文件轉爲圖片

原文詳細地址:https://blog.csdn.net/liangxun0712/article/details/79584016 php官方文檔: http://php.net/manual/en/book.imagick.php g

原创 php7常用不常用 對接java加密 解密函數 RSA AES 有需要的在下方評論

<?php /** * Created by PhpStorm. * User: fuxia * Date: 2019/1/15 * Time: 18:16 */ //數組對象轉數組 function object_arr

原创 Redis (error) NOAUTH Authentication required.解決方法

127.0.0.1:6379> auth "yourpassword"

原创 Swoole入門到實戰打造高性能賽事直播平臺視頻課程

鏈接: https://pan.baidu.com/s/16ZulJj0Ey0xK0uiNzRWnww 提取碼: zr2n     煩請點個贊 鏈接: (入門視頻)https://pan.baidu.com/s/1BLVbWSmJsSV5

原创 Redis (error) NOAUTH Authentication required.解決方法

 ./redis-cli auth "yourpassword" redis 密碼一般在redis.conf 中

原创 diango 豆瓣加速安裝

pip install -i https://pypi.doubanio.com/simple/ Django

原创 curl 上傳文件/圖片 上傳form表單 formdata

$file=curl_file_create('xls.jpg','image/jpeg','test_name'); $data=array("saveFlag"=>"save", "file"=>$file, ); $curl = c

原创 nginx https 安裝配置

server {     listen 80;     server_name localhost;     root html;     index index.html index.htm;              listen 4

原创 json_encode utf-8轉義 gbk 不轉義

  header("Content-Type: text/html;charset=utf-8");