XAMPP與Laravel5

1. PHP.ini中的extension=php_openssl.dll 前面的;要移除,重開apache
2..htaccess, index.php, favicon.ico從public移至上一層
3.index.php
require __DIR__.’/../bootstrap/autoload.php’;

require __DIR__.’/bootstrap/autoload.php’;

$app = require_once __DIR__.’/../bootstrap/app.php’;

$app = require_once __DIR__.’/bootstrap/app.php’;