- 积分
- 10
- 威望
-
- 金钱
-
- 注册时间
- 2020-3-5
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
版本:lnmp1.5
php目前是7.0.30,想升级成7.1.30。手动下载上传到服务器lnmp目录后使用upgrade升级,最后报错:
Copy php-fpm init.d file...
cp: cannot stat '/root/lnmp1.5/src/php-7.1.30/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm': No such file or directory
install-mphp7.1.log最后部分内容:
[1mConfiguring extensions[m
checking size of long... (cached) 8
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking for gettimeofday... (cached) yes
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for 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......
Install ZendGuardLoader for PHP 7.1...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat '/root/lnmp1.5/src/php-7.1.18/sapi/fpm/init.d.php-fpm': No such file or directory
chmod: cannot access '/etc/init.d/php-fpm7.1': No such file or directory
Add php-fpm7.1 service at system startup...
update-rc.d: error: initscript does not exist: /etc/init.d/php-fpm7.1
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting LNMP...
Starting nginx... done
Starting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
failed!
Starting php-fpm done
[0;31mFailed to install php-7.1.18, you can download /root/install-mphp7.1.log from your server, and upload install-mphp7.1.log to LNMP Forum.[0m
|
|