Y
Y
yellow_pus2022-03-25 17:02:14
PHP
yellow_pus, 2022-03-25 17:02:14

Where did I go wrong in the php version?

I'm trying to run a project wrapped in docker, but the following arrives in the logs to the php-worker container:

Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /app/vendor/symfony/console/Input/ArgvInput.php on line 304
. And when I try to connect through a browser, it displays This site can’t provide a secure connection(port 443) and 404 page not found(port 80) I use the 8th version of php and the 9th version of Laravel. What could be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pLavrenov, 2022-03-26
@pLavrenov

404 shows because the .env file says:
APP_DEBUG=false
Set it to true and the error information will be displayed on the screen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question