gpt4 book ai didi

php - 如何安装pear pecl package trader?

转载 作者:行者123 更新时间:2023-12-04 18:50:34 33 4
gpt4 key购买 nike

我正在尝试使用 pecl install tr​​ader 安装 PHP Extension trader
它返回错误。

这是运行 PHP 5.6 的 ubuntu 16.04 服务器这是我加载的 php 模块

[PHP Modules]
calendar
Core
ctype
curl
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mcrypt
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zlib

[Zend Modules]
Zend OPcache
root@traderlab:~# pecl install trader
Warning: Invalid argument supplied for foreach() in PEAR/Downloader.php on line 593
PHP Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/Downloader.php on line 593
downloading trader-0.5.0.tgz ...
Starting to download trader-0.5.0.tgz (299,829 bytes)
............................................................done: 299,829 bytes


> Warning: Invalid argument supplied for foreach() in PEAR/PackageFile/v2/Validator.php on line 870
PHP Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/PackageFile/v2/Validator.php on line 870
332 source files, building
running: phpize
sh: 1: phpize: not found
ERROR: `phpize' failed
root@traderlab:~#

我该如何解决这个问题?

最佳答案

正如@Jonnix 评论的那样:

如果您阅读错误消息,您会看到它显示 sh: 1: phpize: not found ,这意味着可能没有安装 phpize。您应该可以使用 apt install phpize 安装它.

关于php - 如何安装pear pecl package trader?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57227232/

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