any linux gurus in the house?

psych0fish

New Member
So heres the deal. I setup a debian server and i managed to get apache and php working along with ssh and proftp.

I'm trying to get ffmpeg-php ( http://ffmpeg-php.sourceforge.net/ ) setup but I'm a linux noob and I'm not sure what I'm going.

It says you can either build it into the php binary or build it as an extension neither of which I'm familiar with.

Since I used apt-get to install apache and php i don't think i have a source directory for php which means I can't build it into the binary. I could build it as an extension but I don't know how to use phpize nor can I even find it.

Any help would be greatly appreciated.
 
I am no guru, but I like to configure things with webmin. You can configure apache, samba, mysql, start services, etc from one easy to use interface

www.webmin.com

apache config files should be located in /etc/apache2/httpd.conf
 
Last edited:
I am no guru, but I like to configure things with webmin. You can configure apache, samba, mysql, start services, etc from one easy to use interface

www.webmin.com

apache config files should be located in /etc/apache2/httpd.conf

I'm plenty familiar with configuring apache through the http.conf or whatever config file since I run apache on my windows box. I just don't understand the process invovled with the ffmpeg-php install.
 
well webmin will allow you to control a lot of things from a web based interface. I am no linux guru nor do I do any PHP database/web dev stuff.

You may want to look in /etc/php5/apache2/php.ini

I opened that file up in the terminal and it says it controls many aspects of php and it seems to control where it looks for certain things directory wise.

/usr/lib/php5/extensions I believe is where the extensions are stored
 
well webmin will allow you to control a lot of things from a web based interface. I am no linux guru nor do I do any PHP database/web dev stuff.

You may want to look in /etc/php5/apache2/php.ini

I opened that file up in the terminal and it says it controls many aspects of php and it seems to control where it looks for certain things directory wise.

/usr/lib/php5/extensions I believe is where the extensions are stored

I checked the /usr/lib/php5 directory but there wasn't an extensions folder. I'm guessing this is because I used apt-get to setup apache and php rather than compiling from source.

I'm gonna try compiling php from source to see if that helps.
 
I tried compiling from source but its missing some required files. I'm probably gonna just forget about the linux thing.
 
well that is the catch 22, apt is suppose to resolve all dependencies during the install process, though it doesn't always work that way. If you do it manually, you will have to manually install all the dependencies, or try installing the base package and then running apt-update, or try a different app like yellow dog update manager.

I have the same problem with SuSE right now, it won't resolve dependencies during installs for some things and others work with out a hitch. Remember this is open source and you aren't paying for any of it.
 
ok so I figured it out.

What I did was use a php to get the dircetory listing and list all the flv videos in a directory. Then I used php to dynamically add the commands for ffmpeg and then write the output as a batch file and then execute that batch file.

Its a bit not as smooth as ffmpeg-php but it serves the same purpose.
 
Back
Top