php检测是否支持sqliet3_PHP 怎么支持 sqlite3,上网搜索不到答案才来问的

sqlite3 -version

3.8.7.4 2014-12-09 01:34:36 f66f7a17b78ba617acde90fc810107f34f1a1f2e

php -v

[[email protected] 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结合到一块去。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值