centeros6 lnmp1.8 php7.0安装失败
configure: error: in `/home/lnmp1.8/src/php-7.1.33':configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found.Stop.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target `install'.Stop.
Copy new php configure file...
Modify php.ini......
include/php.sh: line 86: pear: command not found
include/php.sh: line 87: pecl: command not found
Downloading Composer...
--2022-02-09 15:51:23--https://soft.vpser.net/web/php/composer/composer.phar
Resolving soft.vpser.net... 81.70.180.148
Connecting to soft.vpser.net|81.70.180.148|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://175.6.32.4:88/soft/web/php/composer/composer.phar
--2022-02-09 15:51:23--http://175.6.32.4:88/soft/web/php/composer/composer.phar
Connecting to 175.6.32.4:88... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2358836 (2.2M)
Saving to: “/usr/local/bin/composer”
不管是7.0还是7.1编译这一步就出问题了
本帖最后由 翼德1 于 2022-2-9 16:12 编辑
已经安装了gcc,也没有看到config.log在哪 Loaded plugins: security
Setting up Install Process
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
首先你这系统源有可能设置了多次
其次你这系统PATH可能设置有问题,可以 echo $PATH 看看 1.8版本程序安装要求里面写的很清楚,已经不支持你这个系统版本了
页:
[1]