1.php.ini开启phpopenssl
2.conf (nginx为例)
location / {
index index.html index.htm index.php l.php;
#try_files $uri $uri/ =404; 注释这行(有的话)
try_files $uri $uri/ /index.php?$query_string; #加上这行
autoindex off;
}
server_name www.ylar.com; #填写正确
root "D:/phpStudy/PHPTutorial/WWW/laravel/public"; #填写正确