gpt4 book ai didi

php - 无法在 Linux (Ubuntu 12.04 LTS) 上安装 MongoDB PHP 驱动程序

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:42:26 26 4
gpt4 key购买 nike

<分区>

我正在尝试安装 MongoDB PHP 驱动程序,但出现意外错误。当我运行:pecl install mongo 我得到这个:

downloading mongo-1.4.5.tgz ...

Starting to download mongo-1.4.5.tgz (141,417 bytes)

..............................done: 141,417 bytes

84 source files, building

running: phpize

Configuring for:

PHP Api Version: 20090626

Zend Module Api No: 20090626

Zend Extension Api No: 220090626

shtool at '/tmp/pear/temp/mongo/build/shtool' does not exist or is not executable.

Make sure that the file exists and is executable and then rerun this script.

If the command failed with 'phpize: not found' then you need to install php5-dev package

You can do it by running 'apt-get install php5-dev' as a root user

ERROR: `phpize' failed

当我尝试安装 php5-dev 时,它说我已经有最新版本,如果我运行同样的事情:apt-get install php5-dev php5-cli php-pear

谢谢。

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com