我正在尝试在我的服务器上运行MongoDB。我有mongo数据库设置,它从ssh运行(我可以创建和查询数据库)。但现在我正在尝试安装PHP库。我正在运行PHP版本7.0.5并尝试过“sudo pecl install mongodb”我收到了错误
Starting to download mongodb-1.1.6.tgz (653,403 bytes)
..................................................................................................................................done: 653,403 bytes
350 source files, building
running: phpize
Can't find PHP headers in /usr/include/php
The php-devel package is required for use of this command.
ERROR: `phpize' failed
然而,当我去/usr/bin/
时,我确实有phpize
。
不知道从哪里开始。