SYSTEM INFORMATION (new server | |
---|---|
kernel | Linux 5.4.0-148-generic на x86_64 |
OS type and version | Ubuntu Linux 20.04.6 |
Virtualmin version | 7.7 |
Webmin version | 2.021 |
Authentic theme version | 20.21 |
Virtual Server Summary | |
PHP version | 7.3.33 ( FPM ) |
SYSTEM INFORMATION (old server) | |
---|---|
kernel | Linux 5.4.0-148-generic на x86_64 |
OS type and version | Ubuntu Linux 20.04.6 |
Virtualmin version | 7.7 |
Webmin version | 2.021 |
Virtual Server Summary | |
PHP version | 7.3.33 ( FCGId ) |
Hello. On the new server, due to the fact that I use PHP 7.3.33 (FPM)
и + “Chroot jail domain Unix user”
I cannot interact with ffmpeg located at :/usr/bin/ffmpeg.
The php script shows the inaccessibility of ffmpeg.
I tried many methods of normal ffmpeg work, but everything was unsuccessful.
Copy the program to the Chroot home directory, it is not possible due to the large number of libraries.
With Chroot disabled, the script runs normally.
I wanted to configure it like this: Chroot + PHP 7.3.33 (FPM). And working with ffmpeg, from the script on the site.
How to do this?
p.s. the old server runs the Chroot + PHP 7.3.33 bundle (FCGId), while the php script works normally with ffmpeg