Skip to main content

FFMPEG on CentOs 7.8, PHP7.3 permissions problem

Comments

5 comments

  • Bob1965
    well.. I guess not.. I guess I have to say goodbye to cPanel..
    0
  • SamuelM
    Hello @Bob1965 I am sorry to see that you are having difficulty using ffmpeg. Keep in mind these are community forums and are not our first point of contact for support. If you have any pressing issues, you are always welcome to submit a support ticket using the link in my signature. Based on the information you provided, I am not able to determine exactly what the issue is. Also, note that ffmpeg is not provided as a component of cPanel and we do not provide support for it. We would do our best to provide basic troubleshooting and guidance. With that said, I would suggest appending the following to your command: -loglevel debug
    That should provide any available debug output when running the command. Please let us know if you have any questions.
    0
  • Bob1965
    I already reinstalled CentOs 7.8 and plesk and the user can use FFMPEG and avi videos do convert through ssh as user.. so somehow with the cPanel installation (I'm not saying the software) there must be some cPanel security setting I have set wrong, that is why I came here. I thought maybe someone could give me a tip or had the same problem in the past which keeps a user from using something such as ffmpeg which resides outside the users account. I will reinstall CentOs and cPanel and try what you said with -loglevel debug... I am just not sure where I should place that within the command, at the end maybe?
    0
  • Bob1965
    Well.. good news, I resolved this issue on my own! The issue was having PHP-FPM enabled in the MultiPHP Manager. When I disabled it, everything worked.
    0
  • Spirogg
    Well.. good news, I resolved this issue on my own! The issue was having PHP-FPM enabled in the MultiPHP Manager. When I disabled it, everything worked.

    ok now that you mentioned php-fpm the issue is in the php-fpm settings Disable Functions Enter PHP functions you intend to disable when PHP-FPM is running.Checking the box "Block domain from changing the setting" would allow the configuration to use "php_admin_value". It uses "php_value" if unchecked. this is the error not allow your user to use ffmpeg, you can still use php-fpm if you remove the settings in this area this post. I remove all of it so there were nothing there. then I was able to use ffmpeg without issue. please copy and save the configuration in the php-fpm settings first then try one at a time to remove and restart php-fpm after saving. I think shell exec was the issue. that would need to be removed and then saved. restart php-fpm should work. hope this helps if you want to try it. but as I said make sure you save the configuration or write it down. so you can add it back in your case if it doesn't work for you. but for sure this is the issue Spiro
    0

Please sign in to leave a comment.