简体   繁体   English

运行PHP Composer安装程序时如何解决这些错误?

[英]How do I fix these errors when running the PHP Composer Installer?

I have a server that was recently upgraded to PHP 5.3. 我有一台服务器,最近已升级到PHP 5.3。 Now when I try to install composer , I get the following error messages: 现在,当我尝试安装composer时 ,出现以下错误消息:

PHP Warning:  PHP Startup: ffmpeg: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
in Unknown on line 0

How do I fix these errors and get the installer to run properly? 如何解决这些错误并使安装程序正常运行?

Your problem seems to be an invalid PHP module being installed, not something with the Composer installer. 您的问题似乎是所安装的PHP模块无效,而不是Composer安装程序所引起的。

Have you tried running a simple PHP script like 您是否尝试过运行简单的PHP脚本,例如

<?php phpinfo();

Does this work? 这样行吗?

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM