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

后端 未结 9 1594
余生分开走
余生分开走 2020-12-08 22:16

After upgrading php from 5.1 to 5.2.10, I got the following warnings when php -v:

    # php -v
    PHP Warning:  PHP Startup: fileinfo: Unable t         


        
9条回答
  •  醉酒成梦
    2020-12-08 22:28

    Looks like you haven't upgraded PHP modules, they are not compatible.

    Check extension_dir directive in your php.ini. It should point to folder with 5.2 modules.

    Create and open a phpinfo file and search for extension_dir to find the path.

    Since you did upgrade, there is a chance that you are using old php.ini that is pointing to 5.1 modules

提交回复
热议问题