• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Install FFmpeg librabraries without breaking plesk8.3

L

lueung

Guest
Is there anyway to install the following libraries without breaking plesk? I am on a dedicated RHEL4, Plesk 8.3.

Must be able to run PHP from the command line (CLI) with exec()
Allowed execution of background processes with exec("binary > /dev/null &")
register_globals = on (recommended)
open_basedir = (no value)
output_buffering = on
upload_max_filesize = 100M (recommended maximum video upload size in MB) post_max_size = 100M (recommended maximum video upload size in MB)
GD Library 2 or higher
FFmpeg (http://ffmpeg.mplayerhq.hu)
FFmpeg-PHP (http://ffmpeg-php.sourceforge.net)
Mplayer + Mencoder (http://www.mplayerhq.hu/design7/dload.html)
flv2tool (http://inlet-media.de/flvtool2)
Libogg + Libvorbis (http://www.xiph.org/downloads)
LAME MP3 Encoder (http://lame.sourceforge.net)
 
There would be no problem with Plesk because Plesk operates on its own PHP which is independent from system's (/usr/bin/php) and its configs (/etc/php.ini). You may install ffmpeg extension safely.
 
Already tried it. It breaks when you recompile php.

I can do it in a cgi, but that is only good for one domain. WHat I'm looking to do is have it server wide. I'm not talking about just ffmpeg, but all the things on the list.

Have you done it without breaking plesk. If so, how?
Also a step by step would definitely be appreciated.

I have been using plesk for as long as I can remember. If worse comes to worse I will likely use Virtualmin.
 
Thanks Atomic Turtle

Do you have rpms for Red5 and lighttpd ?
 
Let me get this straight. So you have red5, lighttpd, FFmpeg libraries along with the following:

FFmpeg (http://ffmpeg.mplayerhq.hu)
FFmpeg-PHP (http://ffmpeg-php.sourceforge.net)
Mplayer + Mencoder (http://www.mplayerhq.hu/design7/dload.html)
flv2tool (http://inlet-media.de/flvtool2)
Libogg + Libvorbis (http://www.xiph.org/downloads)
LAME MP3 Encoder (http://lame.sourceforge.net)

...and able to run PHP from the command line (CLI) with exec()
Allowed execution of background processes with exec("binary > /dev/null &")

And it will be able to install and run on the plesk 8.3 without breaking plesk?

If so, this will help make a decision to in the next couple of weeks whether to stick with plesk or jumpship after so many years.
 
Legally because I'm in the US, no I cant distribute mplayer with any encumbered codecs. Livna hower does provide that (rpm.livna.org). I do distribute PHP 5.2.x, mysql 5.0.x, spamassassin, etc. My understanding of lighttpd is that it will co-exist with a standard RPM distribution distributed package. Plesk however will not work with lighttpd by default.

I based my PHP design on the Fedora 8 model, which has 3 major components, an apache DSO, a php-cgi, and a php-cli. This is then updated, and backported to other OS's like CentOS 4 and RHEL 4. It includes 20 sub-modules (mysql/mysqli, pdo, suhosin, mcrypt, mssql, etc) and 3 external modules, ioncube-loader, zend-optimizer, and eaccelerator. php-ffmpeg would be a additional sub-module.
 
Back
Top