sqlite3 -version
3.8.7.4 2014-12-09 01:34:36 f66f7a17b78ba617acde90fc810107f34f1a1f2e
php -v
[root@li430-158 lnmp0.9]# php -v
Zend Optimizer requires Zend Engine API version 220060519.
The Zend Engine API version 220090626 which is installed, is newer.
Contact Zend Technologies at
http://www.zend.com/ for a later version of Zend Optimizer.
PHP Warning: PHP Startup: memcache: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP Warning: PHP Startup: pdo_mysql: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP 5.3.7 (cli) (built: Jun 7 2013 07:52:07)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
现在php就是不支持sqlite3,phpinfo里只有sqlite没有sqlite3,如果用 new SQLITE3创建数据库会提示不存在class sqlite3。 如何解决?
在网上找了很多的问题没一个回答的,有的说php5.3已经默认支持,但为什么就是不行呢,有的是直接说sqlite3怎么安装的,sqlite3我已经安装了,但重要的是它怎么和php结合到一块去。