M
M
Maxim Plotnikov2019-07-18 11:26:04
PHP
Maxim Plotnikov, 2019-07-18 11:26:04

Why is the php file not running from the console?

Hello, I'm having a problem with my hosting. I do not know how to solve the second day.
5d302c995a64c200980214.jpeg
5d302ca0d61bc931519026.jpeg
The script itself (see below)
5d302da656039943422753.jpeg
I can't run the php file from the command line. Help forum users)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
eternalfire, 2019-07-18
@eternalfire

Hey!
Judging by the error message - you need to install the extension for php - opcache

D
Dmitry Derepko, 2019-07-18
@xEpozZ

Through which you will not find extensions for php.
Remove it from extension=opcache.so
the config The config will be somewhere in /etc/php/*VERSION*/cli/php.ini or in the /etc/php/*VERSION*/cli/conf.d folder in one of the files
You can also try do phpdismod opcachein console

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question