Open Sahandi81 opened 2 years ago
Hey guys,
I installed this package on ubuntu 18.04, PHP 7.4, and Laravel 8.1.
everything is ok except for one thing. when I want to run the PHP artisan opcache:compile command line says
PHP artisan opcache:compile
# php artisan opcache:compile Compiling scripts... Illuminate\Http\Client\RequestException HTTP request returned status code 500: <!doctype html> <html class="theme-light"> <!-- ParseError: syntax error, unexpected 'private' (T_PRIVATE), expecting va (truncated...) at vendor/laravel/framework/src/Illuminate/Http/Client/Response.php:288 284▕ */ 285▕ public function toException() 286▕ { 287▕ if ($this->failed()) { ➜ 288▕ return new RequestException($this); 289▕ } 290▕ } 291▕ 292▕ /** +15 vendor frames 16 artisan:37 Illuminate\Foundation\Console\Kernel::handle()
I checked the contained file and realized OMG this is the PHP 8.* syntax.
Any helps ?!
Hey guys,
I installed this package on ubuntu 18.04, PHP 7.4, and Laravel 8.1.
everything is ok except for one thing. when I want to run the
PHP artisan opcache:compile
command line saysI checked the contained file and realized OMG this is the PHP 8.* syntax.