php - How to install FFMpeg in WampServer 2.0 (Windows XP) -
I need to install the ffmpeg PHP extension on my localhost, so I can test some of my scripts, but I'm having trouble how to do this.
I have WampServer 2.0 with PHP 5.2.9-2, my OS is Windows XP. Please take steps with some step instructions.
I've found that some Windows produces here:
But I do not know which file downloads and what to do with files.
edited:
What have I done so far:
- download ffmpeg_new
- copy php_ffmpeg.dll from php5 folder Copy C: \ wamp \ bin \ php \ php5.2.9-2 \ ext
- Copy files from the Windows / System 32 folder
- Extensions = php_ffmpeg.dll to php Ini
- Restart all services (Apache, PHP ...)
I am getting an error after using this code:
$ Extension = 'ffmpeg'; $ Extension_soname = 'php_ffmpeg.dll'; $ Extension_full name = PHP_EXTENSION_DIR "/" $ Extension_soname; // Load Extension (false === Extension_loaded ($ extension) ; }
Error:
WARNING: DL () [function.dl]: is not supported in multithreaded web server - using extension = ffmpeg.dll
Plus I get an exception from the top too.
P>
Add this line to your php.ini file
[PHP_ffmpeg] extension = Php_ffmpeg.dll
Comments
Post a Comment