ComputerForum.com ComputerForum.com  
Go Back   Computer Forum > Computer Software > Operating Systems

Reply
 
LinkBack Thread Tools Display Modes
Old 02-06-2007, 08:22 PM   #1 (permalink)
Silver Member
 
psych0fish's Avatar
 
Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
Default any linux gurus in the house?

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.
__________________
Sunbeam 450W PSU w/ Active PFC
JetWay skt939 nForce4 mobo
AMD 64 3700+
1 GB DDR 400
SAPPHIRE Radeon X1950XT 256MB
Creative Sound Blaster Audigy 2 ZS
Western Digital 400GB SATA 1.5
mods: plexiglass side window, side case fan, cold cathodes, front temperature display and fan control
psych0fish is offline   Reply With Quote


Old 02-06-2007, 08:27 PM   #2 (permalink)
VIP Member
 
tlarkin's Avatar
 
Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,273
Default

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 by tlarkin; 02-06-2007 at 08:31 PM.
tlarkin is offline   Reply With Quote
Old 02-06-2007, 08:32 PM   #3 (permalink)
Silver Member
 
psych0fish's Avatar
 
Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
Default

Quote:
Originally Posted by tlarkin View Post
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.
__________________
Sunbeam 450W PSU w/ Active PFC
JetWay skt939 nForce4 mobo
AMD 64 3700+
1 GB DDR 400
SAPPHIRE Radeon X1950XT 256MB
Creative Sound Blaster Audigy 2 ZS
Western Digital 400GB SATA 1.5
mods: plexiglass side window, side case fan, cold cathodes, front temperature display and fan control
psych0fish is offline   Reply With Quote
Old 02-06-2007, 08:46 PM   #4 (permalink)
VIP Member
 
tlarkin's Avatar
 
Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,273
Default

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
tlarkin is offline   Reply With Quote
Old 02-07-2007, 06:12 PM   #5 (permalink)
Silver Member
 
psych0fish's Avatar
 
Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
Default

Quote:
Originally Posted by tlarkin View Post
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.
__________________
Sunbeam 450W PSU w/ Active PFC
JetWay skt939 nForce4 mobo
AMD 64 3700+
1 GB DDR 400
SAPPHIRE Radeon X1950XT 256MB
Creative Sound Blaster Audigy 2 ZS
Western Digital 400GB SATA 1.5
mods: plexiglass side window, side case fan, cold cathodes, front temperature display and fan control
psych0fish is offline   Reply With Quote


Old 02-07-2007, 07:07 PM   #6 (permalink)
VIP Member
 
tlarkin's Avatar
 
Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,273
Default

I use a different distro also, so there could be variance
tlarkin is offline   Reply With Quote
Old 02-07-2007, 07:38 PM   #7 (permalink)
Silver Member
 
psych0fish's Avatar
 
Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
Default

I tried compiling from source but its missing some required files. I'm probably gonna just forget about the linux thing.
__________________
Sunbeam 450W PSU w/ Active PFC
JetWay skt939 nForce4 mobo
AMD 64 3700+
1 GB DDR 400
SAPPHIRE Radeon X1950XT 256MB
Creative Sound Blaster Audigy 2 ZS
Western Digital 400GB SATA 1.5
mods: plexiglass side window, side case fan, cold cathodes, front temperature display and fan control
psych0fish is offline   Reply With Quote
Old 02-07-2007, 09:46 PM   #8 (permalink)
VIP Member
 
tlarkin's Avatar
 
Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,273
Default

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.
tlarkin is offline   Reply With Quote
Old 02-07-2007, 10:32 PM   #9 (permalink)
Silver Member
 
psych0fish's Avatar
 
Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
Default

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.
__________________
Sunbeam 450W PSU w/ Active PFC
JetWay skt939 nForce4 mobo
AMD 64 3700+
1 GB DDR 400
SAPPHIRE Radeon X1950XT 256MB
Creative Sound Blaster Audigy 2 ZS
Western Digital 400GB SATA 1.5
mods: plexiglass side window, side case fan, cold cathodes, front temperature display and fan control
psych0fish is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which linux Arm_Pit3 Operating Systems 13 01-20-2008 02:50 PM
Linux Program BrandonL Operating Systems 4 11-15-2005 03:01 AM
Linux Questions Rexhasta Operating Systems 9 10-05-2005 10:29 PM
Mandrake Linux 10 "Discovery" kb1ghc Operating Systems 3 08-12-2004 03:29 PM
os ??? bloospoon Operating Systems 8 07-22-2004 10:55 PM

All times are GMT +1. The time now is 11:44 PM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum