For over a month now, I have been trying to find a solution to an error message I get whenever I try to upload certain videos. I can upload YouTube videos, but every time I try to upload a video from my computer I get "Warning: popen() has been disabled for security reasons in /home/mydomain/public_html/bx/flash/modules/video/inc/functions.inc.php on line 203" I have contacted my host and they have enabled popen, but I am still getting the error message. When I test the settings I get the below results:
PHP INI settings
safe mode =
disabled functions =
max execution time = 350
post_max_size = 100M
upload max filesize = 100M
ffmpeg output
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 31 2010 07:42:03 with gcc 4.4.1
configuration: --enable-libmp3lame --enable-libxvid --enable-libx264 --enable-gpl --enable-libvorbis --enable-libogg --enable-libtheora --enable-liba52 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libfaad --enable-libfaac --enable-pthreads --disable-shared --enable-static --enable-avfilter --enable-nonfree --enable-swscale --disable-ffplay --disable-ffserver --extra-libs='-static -L/usr/lib -L/home/rayz/ffmpeg_opt -L/home/rayz/ffmpeg_opt/lib' --extra-cflags='-static -I/home/rayz/ffmpeg_opt/include'
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
FFmpeg 0.6
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
But when I check the php settings in the admin panel under host tools, these are the setting per Boonex:
"disable_functions = show_source, passthru, popen, proc_open - FAIL (must be = )"
I am somewhat confused. I am able to upload videos using Coppermine and PHPmotion. I have tried to compare and see what the differences are, but because I am not a programmer I can't figure it all out. I have the php.ini installed in the public_html and Boonex root directories. I looked in the php.ini file, found the below and figured if I could change the path, that may solve my problem. Is my thinking correct, and if so what would I change it to?
; UNIX: "/path1:/path2"
include_path = ".:/usr/lib/php:/usr/local/lib/php"
I do use shared hosting, and they are bending over backwards to help me resolve this problem. Is there something else I need to ask my host to do?
Thanks!