Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to install this module - ffmpeg-php on a dedicated server, but am unsure where I should be saving this file and setting it up so that the binaries get created at the appropriate location.

Where should I be downloading it,

wget http://space.dl.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2

and untar-ring, phpize-ing and configure-ing it?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

There are two parts to this question plus an unstated part:

  • where should I temporarily save the downloaded tbz2 file and work on it?
  • where should I install the executables, the man pages, the config files and so on?
  • what other approaches are there?

1. People sometimes create a subdirectory in /tmp (e.g. /tmp/ffmpeg) and extract the files there. You need to clean up and delete after the software is installed. I tend to login as a normal user, create a sysadmin/software folder in my home directory and extract new software into subdirectories there. I only su to root when the time comes to install the compiled and tested binaries etc.

2. There are standards for where software should be installed. Read the Linux Filesystem Hierarchy Standards, http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

3. I prefer to use the platform's packaging system and software repositories. This depends on which Linux distribution you use. For RedHat/CentOS etc I would not bother with the download unless the repositories had no ffmpeg-php package I could use with yum install ffmpeg-php. For other distros the native package management tool might be apt-get. There are advantages to having the package manager handle conflicts, dependencies and be able to provide a complete list of installed packages. I've no idea if ffmpeg-php is available this way - so it might not be an option, but I'd check carefully first.

share|improve this answer
Answer to 2) Based on what you're saying /usr/bin or /usr/lib look like the right location –  matt74tm Oct 13 '10 at 12:10
Answer to 1) yum install ffmpeg-php says "Setting up Install Process No package ffmpeg-php available. Nothing to do" –  matt74tm Oct 13 '10 at 12:10
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.