编程技术

在Mac上安装pecl

curl -O http://pear.php.net/go-pear.phar sudo php -d detect_unicode=0 go-pear.phar 输入1,回车,配置pear路径为:/usr/local/pear 输入4,回车,配置命令路径为:/usr/local/bin sudo pecl config-show ...

nginx 反代 websocket

本地 wesocket 地址 http://127.0.0.1:7272 location /wss { proxy_pass http://127.0.0.1:7272; proxy_http_version 1.1; proxy_connect_timeout 10s; proxy_read_timeout 600...