


I put -1 in explode as there is a space after the last value.We recently had a request from a client to install FFMPEG and the associated PHP module on a Windows server that was running Plesk 8.2 with PHP 5.2. I'm fairly new to this and I've read through ( Can I bind an array to an IN() condition?) as suggested, but it has left me even more confused and I've tried some of the example to no avail. Presently, when the select the rows and click the button, a modal appears with a few hidden fields which serve to help with updating the relevant columns, and an input ( list_check) that gives the IDs of the rows selected in the format 23 24 25 26įrom what I understand, I need to convert this string to an array using explode and then update through SQL using IN().

I have a bootstrap table that is reporting some data and I'm trying to implement a button that when multiple rows are selected, clicking the button will update a column in all the selected rows from No to Yes as well as enter a date. Enable the extension: # echo "extension=ffmpeg.so" > /opt/plesk/php/5.6/etc/php.d/ffmpeg.iniįor more general instructions, refer to this guide. configure -with-php-config=/opt/plesk/php/5.6/bin/php-config -enable-skip-gd-checkĦ. # sudo yum install make plesk-php56-devel gcc glibc-devel zlib-develĥ. Install FFmpeg and dependencies: # sudo yum install ffmpeg ffmpeg-devel mplayer mencoder flvtool2 libogg libvorbis lame Enable RPM Fusion: # yum localinstall -nogpgcheck ģ. If it is not, enable it as follows: # yum install epel* -yĢ. *epel/x86_64 Extra Packages for Enterprise Linux 7 - 12559 Make sure EPEL is enabled: # yum repolist | grep epel

Running ffmpeg command using shell_exec in php as a background process in windowsįor PHP >=7.0, simply use composer: # /opt/plesk/php/7.2/bin/php /usr/lib64/plesk-9.0/composer.phar install php-ffmpeg/php-ffmpegġ. You don't have to, you just could use shell_exec to run ffmpeg on php
