且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法加载pdo_sqlite.so扩展名

更新时间:2021-11-08 21:51:49

您已经安装了(至少是一部分)两个不同版本的php,它们之间存在冲突.您可能需要清除未使用的版本,以防止进一步的问题.擦拭两个然后重新安装您想要的一个可能是最简单的.还要确保您的php.ini的extension_dir设置指向您所保留版本的正确目录.

You've got (at least part of) two different versions of php installed, and they're conflicting. You'll probably want to clean out the version you're not using in order to prevent further issues. It might be easiest to just wipe both and then reinstall the one you want. Also make sure that your php.ini has its extension_dir setting pointing to the correct directory for the version you're keeping.

内部PHP API会根据日期进行版本控制,因此,当进行向后不兼容的更改并需要新版本时,您将获得一个新的子目录名称.如果更改 向后兼容,并且不需要新的API版本,那么您可以对PHP版本进行较小的更新,而无需重新编译扩展.

The internal PHP API is versioned according to date, so when backwards-incompatible changes are made and a new version is required, you'll get a new subdirectory name. If the changes are backward-compatible, and no new API version is required, then you can make minor updates to your PHP version without having to recompile your extensions.

我相信20131226适用于PHP 5.6版,而20160303适用于PHP 7版.

I believe 20131226 is for PHP version 5.6 and 20160303 is for PHP version 7.