简体   繁体   English

如何解决PHP警告:PHP启动:无法加载动态库'php_ffmpeg.dll'

[英]How to fix PHP warning: PHP Startup: Unable to load dynamic library 'php_ffmpeg.dll'

I am trying to install the ffmpeg extension in WampServer for Windows. 我正在尝试在Windows的WampServer中安装ffmpeg扩展名。 I have copied all files in particular folders as described here https://www.jaypan.com/tutorial/installing-ffmpeg-wamp . 我已按照https://www.jaypan.com/tutorial/installing-ffmpeg-wamp中所述将所有文件复制到特定文件夹中。

But I am getting the following errors in Apache error log and library is not loading in phpinfo() 但是我在Apache错误日志中遇到以下错误,并且库未加载到phpinfo()中

PHP Warning: PHP Startup: Unable to load dynamic library 'ext/php_ffmpeg.dll' - The specified module could not be found.\\r\\n in Unknown on line 0 PHP警告:PHP启动:无法加载动态库'ext / php_ffmpeg.dll'-找不到指定的模块。\\ r \\ n在第0行的Unknown中
Warning : PHP Startup: Unable to load dynamic library 'ext/php_ffmpeg.dll' - The specified module could not be found. 警告 :PHP启动:无法加载动态库'ext / php_ffmpeg.dll'-找不到指定的模块。 in Unknown on line 0 在第0行的Unknown中

Why am I getting this error? 为什么会出现此错误? I tried upgrading PHP version but it has no effect on it. 我尝试升级PHP版本,但对它没有影响。

How can I fix this PHP startup issue? 如何解决此PHP启动问题?

You are getting that error because the path to the dll is wrong. 您收到该错误,因为dll的路径错误。 Without looking at your file system we can't provide the correct path. 不查看您的文件系统,我们将无法提供正确的路径。 Check the path ext/php_ffmpeg.dll against the path of your other dll s that are loading. 根据正在加载的其他dll的路径检查ext/php_ffmpeg.dll的路径。 It has been awhile since I ran PHP on Windows but you could try something like dependencywalker to find the complete path that is attempting to be loaded. 自从我在Windows上运行PHP以来已经有一段时间了,但是您可以尝试使用诸如dependencywalker之类的方法来查找尝试加载的完整路径。 You might also have an issue if you are on a 64bit system (sysWOW64 I think). 如果您使用的是64位系统(我认为是sysWOW64),则可能还会有问题。 Also, double check you renamed php_ffmpeg_20050618.dll. 另外,请仔细检查您已将其重命名为php_ffmpeg_20050618.dll。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何修复 PHP 警告:PHP 启动:无法加载动态库 'ext\\\\php_curl.dll'? - How to fix PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_curl.dll'? PHP警告:PHP启动:无法加载动态库/usr/lib/php/20151012/php_imap.dll - PHP Warning: PHP Startup: Unable to load dynamic library /usr/lib/php/20151012/php_imap.dll PHP 警告:PHP 启动:无法加载动态库 '\\xampp\\php\\e xt\\php_pgsql.dll - PHP Warning: PHP Startup: Unable to load dynamic library '\xampp\php\e xt\php_pgsql.dll 如何修复“PHP 警告:PHP 启动:无法加载动态库‘mongodb’” - How do I fix "PHP Warning: PHP Startup: Unable to load dynamic library 'mongodb' " 如何修复 PHP 警告:PHP 启动:无法加载动态库“xxx/xxx/yaf.so”? - How to fix PHP Warning: PHP Startup: Unable to load dynamic library 'xxx/xxx/yaf.so'? 警告:PHP 启动:无法加载动态库 - Warning: PHP Startup: Unable to load dynamic library PHP 警告:PHP 启动:无法加载动态库“php_ibm_db2.dll” - PHP Warning: PHP Startup: Unable to load dynamic library 'php_ibm_db2.dll' PHP 警告:PHP 启动:无法加载动态库 php_curl.dll 不可能找到 - PHP Warning: PHP Startup: Unable to load dynamic library php_curl.dll impossibile find PHP 警告 PHP 启动无法加载动态库 php_pdo_sqlsrv_7_ts_x64.dll - PHP Warning PHP Startup Unable to load dynamic library php_pdo_sqlsrv_7_ts_x64.dll PHP 警告:PHP 启动:无法加载动态库“php_fileinfo.dll” - PHP Warning: PHP Startup: Unable to load dynamic library 'php_fileinfo.dll'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM