小编Sim*_*xel的帖子

使用 php5 在 Ubuntu 16 中安装 xdebug - 错误:无法读取 ltmain.sh

我正在尝试使用 PHP 5 在 Ubuntu 16 中安装 xdebug,但它失败了。我使用的命令是:

sudo pecl install xdebug
Run Code Online (Sandbox Code Playgroud)

我在论坛上搜索了很多,但找不到这个原因。有人可以帮我解决这个问题吗?

以下是控制台输出错误:

downloading xdebug-2.4.0.tgz ...
Starting to download xdebug-2.4.0.tgz (264,832 bytes)
......................................................done: 264,832 bytes
76 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
cp: cannot stat 'ltmain.sh': No such file or directory
building in /tmp/pear/temp/pear-build-roottZWTLj/xdebug-2.4.0
running: /tmp/pear/temp/xdebug/configure --with-php-config=/usr/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for …
Run Code Online (Sandbox Code Playgroud)

php xdebug software-installation 16.04

3
推荐指数
1
解决办法
4467
查看次数

标签 统计

16.04 ×1

php ×1

software-installation ×1

xdebug ×1