【发布时间】:2016-06-18 06:42:27
【问题描述】:
我只是按照一些步骤让这个新版本的 PHP 在我的生产服务器上运行,之后我就无法再访问任何网站了。
我检查了,唯一修改过的配置文件是 etc/php.ini,所以关于 Apache 应该没有任何改变。
我的服务器是 CentOS 5.11。
当我使用时:
php -v
我得到这个结果:
PHP Warning: PHP Startup: ffmpeg: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20131226
These options need to match
in Unknown on line 0
PHP 5.6.19 (cli) (built: Mar 3 2016 08:14:44)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
谢谢
【问题讨论】:
-
会不会是以前版本的模块的问题?
-
好吧。信息很清楚。您正在使用的 ffmpeg 模块使用比新 PHP 版本所需的旧 API。
-
那么您对如何解决问题有何建议?谢谢