Ceacer I need help, I have tried disabling shell_exec and exec, but ffmpeg always prompts You have to enable shell_exec() from your server, what should I do, please help me
aaPanel_Kern Ceacer Hello, please go to the app store to find the site and use the php version to delete the relevant disabled functions and restart php
Ceacer As can be seen in the first picture, I have deleted shell_exec and exec, but ffmpeg still prompts that shell_exec does not work It can be seen that shell_exec and exec in the first picture are in the Enabled state, but ffmpeg is in an abnormal state
Ceacer When I use the code and put it in test.php, there is no error You have to enable shell_exec() from your server <?php echo shell_exec('cat /proc/cpuinfo |grep "physical id" | sort | uniq | wc -l');
aaPanel_Kern Ceacer Hello, please check whether the .ini configuration file under the relevant php version is also prohibited? You need to restart php after modifying the configuration as php 7.4:/www/server/php/74/etc/ php-cli.ini and php.ini Also check whether this php is the default command line php? If not, you need to try to set it as the default php
Ceacer I did it according to the method you provided, the ffmpeg status is has but there is still a problem, because the correct one is the corresponding version number, I tried to upload the video, unfortunately it didn’t work
Ceacer Oh, I found the problem, because I used Nginx before, when I replaced Apache, the firewall was not uninstalled.