- 积分
- 22
- 威望
-
- 金钱
-
- 注册时间
- 2021-5-25
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
使用lnmp2.0 单独安装PHP,用论坛上提供的方法
选择 7.4.33报错
- No package 'libcurl' found
- Consider adjusting the PKG_CONFIG_PATH environment variable if you
- installed software in a non-standard prefix.
- Alternatively, you may set the environment variables CURL_CFLAGS
- and CURL_LIBS to avoid the need to call pkg-config.
- See the pkg-config man page 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 205: pear: command not found
- include/php.sh: line 206: pecl: command not found
- Downloading Composer...
- --2023-09-27 01:38:38-- https://mirrors.aliyun.com/composer/composer.phar
- Resolving mirrors.aliyun.com (mirrors.aliyun.com)... 47.246.23.241, 47.246.23.238, 47.246.23.237, ...
- Connecting to mirrors.aliyun.com (mirrors.aliyun.com)|47.246.23.241|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 2859496 (2.7M) [application/octet-stream]
- Saving to: ‘/usr/local/bin/composer’
- 0K .. 100% 31.6M=0.09s
- 2023-09-27 01:38:38 (31.6 MB/s) - ‘/usr/local/bin/composer’ saved [2859496/2859496]
- Composer install successfully.
- Install ZendGuardLoader for PHP 7...
- unavailable now.
- Creating new php-fpm configure file...
- Copy php-fpm init.d file...
- cp: cannot stat '/root/lnmp2.0/src/php-7.4.33/sapi/fpm/init.d.php-fpm': No such file or directory
- chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
- include/upgrade_php.sh: line 884: lnmp: command not found
- ======== upgrade php failed ======
- upgrade php log: /root/upgrade_lnmp_php20230927013721.log
复制代码 日志文件 https://t.wss.ink/f/ca8p4iwgmy0 复制链接到浏览器打开
|
|