View Full Version : ffmpeg-php help. ffmpeg.so not loaded
piper
06-20-2008, 07:21 AM
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
mistwang
06-20-2008, 11:05 AM
Try
/opt/lsws/fcgi-bin/lsphp5 -i
from command line and fix all errors, make sure ffmpeg module apear in the output.
piper
06-20-2008, 04:00 PM
its not showing at all, how can i see if ffmpeg.so is loaded properly?
mistwang
06-20-2008, 04:03 PM
check the php.ini used from "lsphp5 -i", make sure php.ini has been configured to load ffmpeg.so .
piper
06-20-2008, 04:11 PM
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)
mistwang
06-21-2008, 10:15 PM
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.