【待反馈】PHP8.2扩展安装失败:make: *** No targets specified and
系统:Ubuntu 20.04.4 LTS (Focal Fossa) x86_64(Py3.7.9)日志只有短短几行正在选择下载节点...--2024-08-31 12:05:10-- https://download.bt.cn/install/3/fileinfo.sh
Resolving download.bt.cn (download.bt.cn)... 36.133.1.8, 240e:97e:4000:33f:103:212:48:148
Connecting to download.bt.cn (download.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5559 (5.4K)
Saving to: ‘fileinfo.sh’
0K ..... 100% 369M=0s
2024-08-31 12:05:10 (369 MB/s) - ‘fileinfo.sh’ saved
正在选择下载节点...
https://download.bt.cn
cat: /etc/redhat-release: No such file or directory
Configuring for:
PHP Api Version: 20220829
Zend Module Api No: 20220829
Zend Extension Api No: 420220829
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
fileinfo.sh: line 93: ./configure: No such file or directory
sed: can't read Makefile: No such file or directory
make: *** No targets specified and no makefile found. Stop.
error
|-Successify --- 命令已执行! ---试遍了全网所有方法均无果
重装过PHP没用
问题已解决,解决办法:
apt install autoconf 您好,您这边在您ssh终端执行以下命令后在尝试一下
sudo apt-get update
sudo apt-get install autoconf
页:
[1]