VPS侦探论坛

 找回密码
 注册
查看: 191|回复: 1

lnmp2.1安装swoole问题

[复制链接]
发表于 2024-10-9 17:05:48 | 显示全部楼层 |阅读模式

第一步更加贴子上军哥提供的php7.4使用4.8.13,修改version.sh发现(https://soft.lnmp.com/web/swoole/)没有该版本

+-----------------------------------------------------------------------+
|            Addons script for LNMP V2.1, Written by Licess             |
+-----------------------------------------------------------------------+
|    A tool to Install cache,optimizer,accelerator...addons for LNMP    |
+-----------------------------------------------------------------------+
|           For more information please visit https://lnmp.org          |
+-----------------------------------------------------------------------+
====== Installing PHP Swoole ======

Press any key to start...or Press Ctrl+c to cancel

Notice: swoole-4.8.13.tgz not found!!!download now...
--2024-10-09 16:53:29--  https://soft.lnmp.com/web/swoole/swoole-4.8.13.tgz
Resolving soft.lnmp.com (soft.lnmp.com)... 43.175.152.66, 43.152.29.77, 101.33.11.246, ...
Connecting to soft.lnmp.com (soft.lnmp.com)|43.175.152.66|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2024-10-09 16:53:30 ERROR 404: Not Found.

Uncompress swoole-4.8.13.tgz...
tar (child): swoole-4.8.13.tgz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
cd swoole-4.8.13...
include/main.sh: line 783: cd: swoole-4.8.13: No such file or directory
Cannot find config.m4.
Make sure that you run '/usr/local/php/bin/phpize' in the top level source directory of the module

include/php_swoole.sh: line 30: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
/home/lnmp2.1/src
Restarting php-fpm......
Gracefully shutting down php-fpm . done
Starting php-fpm [09-Oct-2024 16:53:31] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'swoole.so' (tried: /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/swoole.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/swoole.so: cannot open shared object file: No such file or directory), /usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/swoole.so.so (/usr/local/php/lib/php/extensions/no-debug-non-zts-20190902/swoole.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
done
PHP Swoole install failed!

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2024-10-9 17:09:30 | 显示全部楼层


自己已修复
把 php_swoole.sh 版本修改好即可
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-23 14:09 , Processed in 0.025387 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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