显示define('LARAVEL_START',microtime(true))-当我将php版本迁移到7.3时 [英] shows define('LARAVEL_START', microtime(true)) - when i migrate php version to 7.3

查看:74
本文介绍了显示define('LARAVEL_START',microtime(true))-当我将php版本迁移到7.3时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将开发环境更新到PHP 7.3时,我得到了Message(访问应用程序的主页)

I got following Message(Access Home Page of Applications) when I update my Development Environment to PHP 7.3

*/ 

  define('LARAVEL_START', microtime(true)); 

/* 
|-------------------------------------------------------------------------- 
| Turn On The Lights 
|-------------------------------------------------------------------------- 
| 
| We need to illuminate PHP development, so let us turn on the lights. 
| This bootstraps the framework and gets it ready for use, then it
| will load up this application so that we can run it and send 
| the responses back to the browser and delight our users. 
| 
*/ 

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

/* 
|-------------------------------------------------------------------------- 
| Run The Application 
|-------------------------------------------------------------------------- 
| 
| Once we have the application, we can handle the incoming request 
| through the kernel, and send the associated response back to 
| the client's browser allowing them to enjoy the creative 
| and wonderful application we have prepared for them. 
| 
*/ 

$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class); 
$response = $kernel->handle( $request = Illuminate\Http\Request::capture() ); 
$response->send(); 
$kernel->terminate($request, $response);

如何处理?

推荐答案

这是PHP 7.3的安装问题.我重新安装它已得到修复.

Its a PHP 7.3 Installation Issue. I reinstalled it has been fixed.

这篇关于显示define('LARAVEL_START',microtime(true))-当我将php版本迁移到7.3时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆