K
K
knowledge2019-03-10 17:00:32
Laravel
knowledge, 2019-03-10 17:00:32

Why is there an error after installing laravel?

ubuntu
I install laravel via composer
clean, I launch it, immediately on the main page an error pops up
Warning: Header may not contain NUL bytes in /app/public/index.php on line 10
In index.php on line 10 I (and everyone)
define ('LARAVEL_START', microtime(true));
when running artisan, the same error occurs on line 4, in the artisan file, on line 4, the same line
define('LARAVEL_START', microtime(true));
version laravel 5.8.3 tried to install 5.7 5.6 same error

Answer the question

In order to leave comments, you need to log in

1 answer(s)
U
uhci1980, 2019-03-11
@uhci1980

Here it is direct index.php also you launch? can first set up a web server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question