# php -v
    PHP Warning:  PHP Startup: fileinfo: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
     in Unknown on line 0
    PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
    Module compiled with module API=20050922, debug=0, thread-safety=0
    PHP    compiled with module API=20060613, debug=0, thread-safety=0
    These options need to match
     in Unknown on line 0

我是在安装redis的时候碰到类似问题,当时没有记录,因为很快就被修复了,说一说出现这个问题的原因,只有一个:
你下载的拓展和你的php版本不符合!
具体参考我写的另外一篇文章:http://blog.csdn/zhezhebie/article/details/72742496
这个文章标题不吸引人,但是内容却是慢慢的干货!

更多推荐

PHP Warning: PHP Startup: redis: Unable to initialize module