127.0.0.1当前无法处理该请求。 HTTP错误500 laravel

时间:2018-10-30 10:08:34

标签: php laravel

当我点击时,我已经从git hub下载了项目

localhost/project/public its working

当我击中php artisan serve

[Tue Oct 30 15:26:08 2018] PHP Warning:  Unknown: failed to open stream: No such file or directory in Unknown on line 0
[Tue Oct 30 15:26:08 2018] PHP Fatal error:  Unknown: Failed opening required '/var/www/html/agile/server.php' (include_path='.:/usr/share/php') in Unknown on line 0

我得到的服务器

此页面无效

127.0.0.1当前无法处理此请求。 HTTP错误500

我的环境文件

APP_ENV=local
APP_KEY=base64:Y8K7cqYOOxdk4ws+dSME+ilPPs2592UZxsHHjpfu9Dw=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://localhost/agile/
APP_TITLE=GitScrum

GITHUB_CLIENT_ID=test
GITHUB_CLIENT_SECRET=test

GITLAB_KEY=test
GITLAB_SECRET=test
GITLAB_INSTANCE_URI=https://gitlab.com/

DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=agile
DB_USERNAME=root
DB_PASSWORD=zxzx

APP_PAGINATE=10

PROXY_PORT=
PROXY_METHOD=
PROXY_SERVER=
PROXY_USER=
PROXY_PASS=

htaccess

<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes If Not A Folder...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]



 # Handle Authorization Header
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>

任何帮助将不胜感激

0 个答案:

没有答案