Need help to create thumbanil in linux
-
Hi I am PHP programmer. I try to create thumbnail using php exec(FFMPEG) function on linux server. But it will not create thumbnail. On the same time the code works fine and create thumbnail in shell command of the same server when I tested it. Anyone can help me. Thanks :confused:
-
Hi I am PHP programmer. I try to create thumbnail using php exec(FFMPEG) function on linux server. But it will not create thumbnail. On the same time the code works fine and create thumbnail in shell command of the same server when I tested it. Anyone can help me. Thanks :confused:
make sure you have correct permissions on all relevant directories. make sure your server doesn't have exec disabled in php.ini
-
make sure you have correct permissions on all relevant directories. make sure your server doesn't have exec disabled in php.ini
Thanks for your reply. I checked that the correct permissions on all relevant directories and exec function not in disabled in php.ini. Problem is not in these two sections. Finally I found the solution that change the safe mode in php ini file likes below. safe_mode = On’ To safe_mode = Off’. Now thumbnail created successfully. Thanks again. :)
modified on Friday, July 3, 2009 12:28 AM