小编Nan*_* Yu的帖子

配置错误:未满足包要求(sqlite3 > 3.7.4)

我正在尝试按照以下说明在 Centos 7 上安装 php:https : //www.php.net/manual/en/install.unix.nginx.php。我的nginx版本:nginx/1.19.0

我从https://www.php.net/downloads下载了 php-7.4.6.tar.gz 但在步骤中:

./configure --enable-fpm --with-mysqli
Run Code Online (Sandbox Code Playgroud)

我收到此错误:

checking for sqlite3 > 3.7.4... no
configure: error: Package requirements (sqlite3 > 3.7.4) were not met:

No package 'sqlite3' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables SQLITE_CFLAGS
and SQLITE_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Run Code Online (Sandbox Code Playgroud)

我确实启动并运行了 sqlite3:

# …
Run Code Online (Sandbox Code Playgroud)

php sqlite centos7

1
推荐指数
2
解决办法
8834
查看次数

标签 统计

centos7 ×1

php ×1

sqlite ×1