Why does PHP sqlite_libversion() function fail on Red Hat Enterprise Linux 6?
Issue
- Why does
PHP sqlite_libversion() functionfail onRed Hat Enterprise Linux 6? - The message on RHEL seems to indicate that
SQLite3is loaded. but thePHPlibrary does not seem to be able to connect. sqlite_libversion()fails to returns the version of the linkedSQLite3library.
# php -m | grep sqlite3
sqlite3
# cat /path2file/sqlite_libversion.php
<?PHP
echo sqlite_libversion();
?>
# php /path2file/sqlite_libversion.php
PHP Fatal error: Call to undefined function sqlite_libversion() in /path2file/sqlite_libversion.php on line 2
Environment
- Red Hat Enterprise Linux (RHEL) 6
- php-5.3.3-27.el6_5.x86_64
- sqlite-3.6.20-1.el6.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
