By Mel on Thursday, 30 March 2017
Posted in General Issues
Replies 4
Likes 0
Views 142
Votes 0
Hi,

I have been upgraded to EasyApache 4 with PHP7 and have noticed that FFMPEG no longer works. I have done some digging around and so far I am seeing that EasyApache 4 doesn't yet support it. Is this correct? Has anyone managed to install/enable it on EasyApache 4 or have an alternative solution to make it work in easysocial?

I am guessing without this we cannot upload videos to our site?

Kind regards

Mel
Hello Mel,

EasyBlog executes ffmpeg binaries by using passthru in php. It doesn't utilize any php ffmpeg library. I am guessing that perhaps EasyApache4 isn't allowing php scripts to execute binaries on the server using passthru
·
Thursday, 30 March 2017 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
So does that mean it isn't an issue if its not enabled/visible under the PHP extensions? It just I noticed that in the easysocial settings for videos it is saying The path you specified is invalid. Please enter a different path to FFMpeg, so is it just a matter of providing a different path?

UPDATE:

I just did some googeling and found an article ( https://globedrill.com/disable-dangerous-php-functions-php-hardening-cpanel/ )on the disable_function in php ini so I checked mine and it isn't showing passthru as disabled so does this mean it will be ok?
Mel
·
Thursday, 30 March 2017 16:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mel,

It's best to check with your hosting provider because they would know their setup best. From what we can see from the script, the path to ffmpeg provided cannot be detected by php and it could be:

1. The ffmpeg binary is no longer there

2. There are permission issues as the php script cannot detect that file.
·
Thursday, 30 March 2017 18:06
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post