LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > ffmpeg-php help. ffmpeg.so not loaded

Reply
 
Thread Tools Display Modes
  #1  
Old 06-20-2008, 06:21 AM
piper piper is offline
Senior Member
 
Join Date: Jan 2007
Posts: 58
Default ffmpeg-php help. ffmpeg.so not loaded

I'm trying to install ffmpeg-php on my litespeed server, ffmpeg is running fine and after compiling ffmpeg-php the ffmpeg.so was created in /usr/local/lib/php/extensions/no-debug-non-zts-20060613/

My other modules are located in /opt/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20060613

so i copied it over and add

extension = ffmpeg.so to my php.ini

But it still doesnt work, any pointer? I also tried to compile php with --with-ffmpeg flag.

Please assist.

Running latest version of Litespeed enterprise/RHEL5.2
Reply With Quote
  #2  
Old 06-20-2008, 10:05 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Try
/opt/lsws/fcgi-bin/lsphp5 -i

from command line and fix all errors, make sure ffmpeg module apear in the output.
Reply With Quote
  #3  
Old 06-20-2008, 03:00 PM
piper piper is offline
Senior Member
 
Join Date: Jan 2007
Posts: 58
its not showing at all, how can i see if ffmpeg.so is loaded properly?
Reply With Quote
  #4  
Old 06-20-2008, 03:03 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
check the php.ini used from "lsphp5 -i", make sure php.ini has been configured to load ffmpeg.so .
Reply With Quote
  #5  
Old 06-20-2008, 03:11 PM
piper piper is offline
Senior Member
 
Join Date: Jan 2007
Posts: 58
Quote:
Originally Posted by mistwang View Post
check the php.ini used from "lsphp5 -i", make sure php.ini has been configured to load ffmpeg.so .
No luck with it, the output does not show ffmpeg.so was loaded

here is what i have on the php.ini (i checked ffmpeg.so is on the same folder of apc.so and suhosin.so)
APC and Suhosin is loaded and shown on phpinfo

extension_dir = /opt/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20060613
extension = ffmpeg.so
extension= suhosin.so
extension = apc.so
apc.shm_size = 32
apc.enabled=1
apc.shm_segments=1
apc.optimization=0
apc.ttl=7200
apc.user_ttl=7200
apc.num_files_hint=1024
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.enable_cli=1
apc.filters = wp-cache-config,rebuild_smp

All apps compiled correctly. I can run ffmpeg from command line, it just ffmpeg.so (ffmpeg-php) does not load)

Last edited by piper; 06-20-2008 at 03:13 PM..
Reply With Quote
  #6  
Old 06-21-2008, 09:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
There should be an error at the beginning of output of "lsphp5 -i", also the php.ini used by lsphp5 should be listed on phpinfo, you should double check it reference to the right one.
Reply With Quote
Reply

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

Forum Jump


All times are GMT -7. The time now is 03:08 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.