Created
January 5, 2023 23:14
-
-
Save carstingaxion/a78ea7ca87dd1bcb0b411546d3605fb7 to your computer and use it in GitHub Desktop.
Check for sqlite3 extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( class_exists('SQLite3') ) { | |
echo 'SQLite3 class loaded'. "\n\n"; | |
} | |
if ( extension_loaded('sqlite3') ) { | |
echo 'sqlite3 extension loaded'. "\n\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment