VPS侦探论坛

 找回密码
 注册
查看: 11|回复: 0

军哥,lnmp1.7升级php7.4.19错误,求解决办法

[复制链接]
发表于 4 天前 | 显示全部楼层 |阅读模式


军哥,lnmp1.7升级php7.4.19错误,求解决办法
https://c.wss.pet/f/h9m0wb5kw0b 复制链接到浏览器打开

  1. include/main.sh: line 706: /usr/local/php/bin/php-config: No such file or directory
  2. include/main.sh: line 707: /usr/local/php/bin/php-config: No such file or directory
  3. Current PHP Version:
  4. You can get version number from http://www.php.net/
  5. Please enter a PHP Version you want:
  6. Press any key to start...or Press Ctrl+c to cancel

  7. Notice: php-7.4.19.tar.bz2 not found!!!download now...
  8. --2025-06-16 22:02:03--  http://php.vpser.net/php-7.4.19.tar.bz2
  9. Resolving php.vpser.net (php.vpser.net)... 43.138.112.190
  10. Connecting to php.vpser.net (php.vpser.net)|43.138.112.190|:80... connected.
  11. HTTP request sent, awaiting response... 302 Moved Temporarily
  12. Location: http://175.6.32.4:88/php/php-7.4.19.tar.bz2 [following]
  13. --2025-06-16 22:02:03--  http://175.6.32.4:88/php/php-7.4.19.tar.bz2
  14. Connecting to 175.6.32.4:88... failed: Connection refused.
  15. --2025-06-16 22:02:03--  https://www.php.net/distributions/php-7.4.19.tar.bz2
  16. Resolving www.php.net (www.php.net)... 185.85.0.29, 2a02:cb40:200::1ad
  17. Connecting to www.php.net (www.php.net)|185.85.0.29|:443... connected.
  18. HTTP request sent, awaiting response... 200 OK
  19. Length: 12810529 (12M) [application/octet-stream]
  20. Saving to: ‘php-7.4.19.tar.bz2’
  21. 100%[======================================>] 12,810,529  24.8KB/s   in 9m 18s

  22. 2025-06-16 22:11:23 (22.4 KB/s) - ‘php-7.4.19.tar.bz2’ saved [12810529/12810529]

  23. Download php-7.4.19.tar.bz2 successfully!
  24. +-------------------------------------------+
  25. |    Manager for LNMP, Written by Licess    |
  26. +-------------------------------------------+
  27. |              https://lnmp.org             |
  28. +-------------------------------------------+
  29. Stoping LNMP...
  30. Stoping nginx...  done
  31. Shutting down MySQL.. SUCCESS!
  32. /usr/bin/lnmp: line 40: /etc/init.d/php-fpm: No such file or directory
  33. mv: cannot stat ‘/etc/init.d/php-fpm’: No such file or directory
  34. Installing Dependent for PHP...
  35. Loaded plugins: fastestmirror
  36. Loading mirror speeds from cached hostfile
  37. Package c-ares-devel-1.10.0-3.el7_9.1.x86_64 already installed and latest version
  38. Nothing to do
  39. Loaded plugins: fastestmirror
  40. Loading mirror speeds from cached hostfile
  41. Package libicu-devel-50.2-4.el7_7.x86_64 already installed and latest version
  42. Nothing to do
  43. Loaded plugins: fastestmirror

  44. checking for libxml-2.0 >= 2.7.6... yes
  45. checking whether to enable XMLReader support... yes
  46. checking for libxml-2.0 >= 2.7.6... yes
  47. checking whether to build with XMLRPC-EPI support... yes
  48. checking whether to build with expat support... no
  49. checking iconv dir for XMLRPC-EPI... yes
  50. checking for libxml-2.0 >= 2.7.6... yes
  51. checking whether to enable XMLWriter support... yes
  52. checking for libxml-2.0 >= 2.7.6... yes
  53. checking whether to build with XSL support... yes
  54. checking for libxslt >= 1.1.0... yes
  55. checking for libexslt... yes
  56. checking whether to enable zend-test extension... no
  57. checking for zip archive read/write support... yes
  58. checking for libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0... no
  59. configure: error: Package requirements (libzip >= 0.11 libzip != 1.3.1 libzip != 1.7.0) were not met:

  60. Requested 'libzip >= 0.11' but version of libzip is 0.10.1

  61. Consider adjusting the PKG_CONFIG_PATH environment variable if you
  62. installed software in a non-standard prefix.

  63. Alternatively, you may set the environment variables LIBZIP_CFLAGS
  64. and LIBZIP_LIBS to avoid the need to call pkg-config.
  65. See the pkg-config man page for more details.
  66. make: *** No targets specified and no makefile found.  Stop.
  67. make: *** No targets specified and no makefile found.  Stop.
  68. make: *** No rule to make target `install'.  Stop.
  69. Copy new php configure file...
  70. Modify php.ini......
  71. include/php.sh: line 86: pear: command not found
  72. include/php.sh: line 87: pecl: command not found
  73. Downloading Composer...
  74. --2025-06-16 22:12:39--  https://soft.vpser.net/web/php/composer/composer.phar
  75. Resolving soft.vpser.net (soft.vpser.net)... failed: Name or service not known.
  76. wget: unable to resolve host address ‘soft.vpser.net’
  77. Composer install failed, try to from composer official website...
  78. include/php.sh: line 99: php: command not found
  79. curl: (23) Failed writing body (0 != 16135)
  80. Install ZendGuardLoader for PHP 7...
  81. unavailable now.
  82. Creating new php-fpm configure file...
  83. Copy php-fpm init.d file...
  84. cp: cannot stat ‘/root/lnmp1.7/src/php-7.4.19/sapi/fpm/init.d.php-fpm’: No such file or directory
  85. chmod: cannot access ‘/etc/init.d/php-fpm’: No such file or directory
  86. +-------------------------------------------+
  87. |    Manager for LNMP, Written by Licess    |
  88. +-------------------------------------------+
  89. |              https://lnmp.org             |
  90. +-------------------------------------------+
  91. Starting LNMP...
  92. Starting nginx...  done
  93. Starting MySQL.. SUCCESS!
  94. /usr/bin/lnmp: line 26: /etc/init.d/php-fpm: No such file or directory
  95. ======== upgrade php failed ======
  96. upgrade php log: /root/upgrade_lnmp_php.log
  97. You upload upgrade_lnmp_php.log to LNMP Forum for help.
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2025-6-20 13:22 , Processed in 0.024846 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表