tag : php

php file_get_contents can't get https url

support file_get_contents for hhtps urlinstall openssl1yum install openssl get cacert.pem1curl -o cacert.pem http://curl.haxx.se/ca/cacert.pem config your php.ini12#add openssl.cafile=/home/www/cacer

linux 手动安装 lnmp 环境

linux 环境手动进行 nginx mysql php 环境配置 Nginx依赖项: gcc gcc-c++ pcre pcre-devel zlib-devel openssl openssl-devel 1sudo yum install -y gcc gcc-c++ pcre pcre-devel zlib-devel openssl openssl-devel 下载 &