如何判断SQLite是否在Linux上正确安装?

时间:2021-04-22 07:15:56

I'm using a web hosting service on a shared account. They have MySQL, but I need to use SQLite for a Joomla extension called SobiPro. How can I tell if SQLite is installed and working properly on Linux?

我在共享帐户上使用网络托管服务。他们有MySQL,但我需要使用SQLite作为名为SobiPro的Joomla扩展。如何判断SQLite是否已安装并在Linux上正常运行?

1 个解决方案

#1


7  

SQLite is an embedded database, i.e., it is usually compiled directly into the application that uses it.

SQLite是一个嵌入式数据库,即它通常直接编译到使用它的应用程序中。

In your case, SQLite must be enabled in the PHP configuration. The SobiPro documentation says:

在您的情况下,必须在PHP配置中启用SQLite。 SobiPro文档说:

SQLite can be supported directly via the SQLite extension or through the PHP Data Objects extension.

可以通过SQLite扩展或PHP Data Objects扩展直接支持SQLite。

To check PHP extensions, use get_loaded_extensions or something like <?php phpinfo(INFO_MODULES); ?>.

要检查PHP扩展,请使用get_loaded_extensions或类似 。

#1


7  

SQLite is an embedded database, i.e., it is usually compiled directly into the application that uses it.

SQLite是一个嵌入式数据库,即它通常直接编译到使用它的应用程序中。

In your case, SQLite must be enabled in the PHP configuration. The SobiPro documentation says:

在您的情况下,必须在PHP配置中启用SQLite。 SobiPro文档说:

SQLite can be supported directly via the SQLite extension or through the PHP Data Objects extension.

可以通过SQLite扩展或PHP Data Objects扩展直接支持SQLite。

To check PHP extensions, use get_loaded_extensions or something like <?php phpinfo(INFO_MODULES); ?>.

要检查PHP扩展,请使用get_loaded_extensions或类似 。