1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Install FFmpeg librabraries without breaking plesk8.3

Discussion in 'Plesk for Linux - 8.x and Older' started by lueung, Dec 29, 2007.

  1. lueung

    lueung Guest

    0
     
    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)
     
  2. ib1984

    ib1984 Basic Pleskian

    23
    70%
    Joined:
    Jun 25, 2008
    Messages:
    91
    Likes Received:
    0
    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.
     
  3. lueung

    lueung Guest

    0
     
    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.
     
  4. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    I'll see if I can whip up some php-ffmpeg rpms today
     
  5. lueung

    lueung Guest

    0
     
    Thanks Atomic Turtle

    Do you have rpms for Red5 and lighttpd ?
     
  6. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    I have packages for RHEL 4/5, CentOS 4/5, and Fedora 4-8
     
  7. lueung

    lueung Guest

    0
     
    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.
     
  8. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    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.
     
  9. Hexus

    Hexus Guest

    0
     
Loading...