Setting Up FFMpeg With Runcloud
FFMpeg is used for video encoding process of any uploaded videos. It is OPTIONAL to enable FFMpeg on your site.
For those that have read through the video encoding documentation and have acquired the correct FFMpeg path from your webhosting provider, but still getting error of Please enter a different path to FFMpeg, it is possible that certain PHP configuration in the server is preventing the path to be accessed.
The screenshots in this guide applies to webmasters utilizing Runcloud webhosting. Other webhosting might have a different configuration. Please consult your webhosting provider respectively.
PHP FFMpeg Configuration
Take a look at the steps below to check your PHP configuration in Runcloud. Log in into your Runcloud account and you should see your servers management page. Then, click on the server which your site is based on.
In the next screen, click Web Application at the menu on the left side or under the server in the middle.
Then, click on the web application name that is linked to your domain.
You should see the web application summary here, click on Settings on the left sidebar.
In the web application settings page, scroll down to the PHP settings area, then check the open_basedir and the disable_functions fields.
If data is populated in the open_basedir field, add your FFMpeg path here so that the path is accessible by PHP functions. If the open_basedir field is empty, there is no need to add the FFMpeg path here.
As mentioned in the video encoding documentation, PHP:passthru is required for video encoding to work. For Runcloud webhosting, this PHP function may be disabled by default. To enable this, head to the disable_functions section, locate and remove passthru from the list.
Note: Confirm that passthru is enabled by making sure it is not in the disable functions list.




