P
P
Paka2021-02-24 11:11:54
PHP
Paka, 2021-02-24 11:11:54

Why is shell_exec not running (win, openserver, php ^7.1)?

I run the command under Windows, on openserver
shell_exec('file.exe')

with php 7.0 and below
settings, everything works with php 7.1 and above settings - it doesn't work,

and normal commands are executed without problems, such as
shell_exec('dir > _dir.txt')

what could be the problem? I suspect some settings, although I compared php.ini one to one, I don’t see any differences ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question