我正在尝试为php 7.1安装mongodb驱动程序,但没有找到任何解决方案。
使用以下命令
In [46]: x.strides
Out[46]: (480, 160, 40, 8)
In [47]: x.transpose().strides
Out[47]: (8, 40, 160, 480)
In [48]: x.transpose([3,0,1,2]).strides
Out[48]: (8, 480, 160, 40)
但是,没有找到pecl命令。试图通过
安装peclpecl install mongodb
但是没有可用的包
答案 0 :(得分:1)
尝试安装php-pear
包。其中包含pecl
。
答案 1 :(得分:0)
您还可以使用yum软件包:
yum install php71-php-pecl-mongodb.x86_64 -y