I really can't se why i get this error, i have
extension=php_sqlite.dll
extension=php_sqlite3.dll
I am working with wamp with php version 5.4.3
I get the folowing error Call to undefined function sqlite_libversion()
I have the code
echo sqlite_libversion();
I've tried other forums and threads but all of them isa about forgetting to enable the modules, why do I still have the problem?
The method you seem to be looking for in Sqlite3 is:
<?php print_r(SQLite3::version()); ?>
Which should return:
Array
(
[versionString] => 3.5.9
[versionNumber] => 3005009
)
As per documentation at http://php.net/manual/en/sqlite3.version.php.
This function is part of the (old) SQLite 2 extension, which isn't supported on PHP 5.4 - you'll only have SQLite3 with it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With