PHP判断服务器是否支持SQLite数据库
在网上搜了一下,好像没有发现有此问题的解答,现在Gonten就分享一下这函数,虽然很简单,但我想对一些朋友也用得着。
我之前也是不知道如何判断,PHP手册里也没有,就跑去bkJia论坛去问大侠了,得出了答案,测试OK!
判断函数是:extension_loaded(’sqlite’),支持时返回TRUE,不支持返回FALSE
如:
if (extension_loaded(’sqlite’)) {
echo ‘支持’;
}else{
echo ‘不支持’;
}

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

WebStorm Mac version
Useful JavaScript development tools

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.