|
|
#1 (permalink) |
|
Silver Member
![]() Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
|
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 |
|
|
|
|
|
#2 (permalink) |
|
VIP Member
![]() Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,273
|
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. |
|
|
|
|
|
#3 (permalink) | |
|
Silver Member
![]() Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
|
Quote:
__________________
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 |
|
|
|
|
|
|
#4 (permalink) |
|
VIP Member
![]() Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,273
|
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 |
|
|
|
|
|
#5 (permalink) | |
|
Silver Member
![]() Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
|
Quote:
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 |
|
|
|
|
|
|
#7 (permalink) |
|
Silver Member
![]() Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
|
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 |
|
|
|
|
|
#8 (permalink) |
|
VIP Member
![]() Join Date: Apr 2006
Location: Kansas City, MO
Posts: 6,273
|
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. |
|
|
|
|
|
#9 (permalink) |
|
Silver Member
![]() Join Date: Jan 2007
Location: New Orleans, LA
Age: 21
Posts: 144
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |