category : php

php exec debug

php exec debug way123exec('sh /home/www/shell/update.sh 2>&1', $output);print_r($output);

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

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick