huaidan 发表于 2025-3-28 17:00:15

建站教程PHP扩展安装和配置Swoole Loader redis fileinfo 如何安装菜鸟教程扩展,安装,配置,如何 - Powered by Discuz!

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">PHP扩展安装和配置Swoole Loader redis fileinfo 如何安装<br />说明:很多网站安装的时候会需要配置PHP扩展,很多小白都不会<br />这里,坏蛋教一下大家<br />普通的扩展,直接在对应的PHP设置里安装即可,看图<br /><br /><br /><br />但是Swoole Loader却不行,这时就需要手动上传文件安装了,先检测环境和所需的Swoole Loader<br />检测文件<br /><br />访问域名/swoole-compiler-loader.php<br /><br /><br />下载Swoole Loader扩展文件(点击下方的下载地址)<br />找到对应的Swoole Loader扩展文件,上传到指定的目录里,(<font color="#ff0000">注意你的PHP是哪个版本</font>)<br /><strong>安装和配置Swoole Loader</strong><font style="color:rgb(33, 37, 41)"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px">1 - 安装Swoole Loader</font></font></font></font><font style="color:rgb(33, 37, 41)"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px">前往根目录 /help/swoole-loader/swoole_loader72.so扩展文件上传到当前PHP的扩展安装目录中:<br /></font></font></font></font>/www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718<br /><font style="color:rgb(33, 37, 41)"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px">2 - 修改php.ini配置(如已修改配置,请忽略此步骤,不必重复添加)</font></font></font></font><font style="color:rgb(33, 37, 41)"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px">编辑此PHP配置文件:/www/server/php/72/etc/php.ini,在此文件底部结尾处加入如下配置<br /></font></font></font></font>extension = /www/server/php/72/lib/php/extensions/no-debug-non-zts-20170718/swoole_loader72.so<font color="#212529"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px">注意:需要名称和刚才上传到当前PHP的扩展安装目录中的文件名一致</font></font></font></font><br /><font style="color:rgb(33, 37, 41)"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px">3 - 重启服务</font></font></font></font><font style="color:rgb(33, 37, 41)"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px">重启或重载PHP配置(这里是指的重启或重载PHP)</font></font></font></font><font style="color:rgb(33, 37, 41)"><font style="background-color:rgb(248, 249, 250)"><font face="-apple-system, BlinkMacSystemFont, &amp;quot"><font style="font-size:16px"></font></font></font></font><br /><br />    <h3>版权声明</h3>            <p>1、本站所有资源来源于网络搜集和会员分享</p><p>2、本站所有程序仅供大家学习和参考,不得进行商业用途</p><p>3、如果觉得程序还可以、请购买官方正版</p><p>4、对不遵守本声明或其他违法、恶意使用本网站内容者,本网站保留追究其法律责任的权利。</p>      <p>唯一网址: <a target="_blank" href='https://bbs.zonghengtx.cn/thread-1789-1-1.html' title='PHP扩展安装和配置Swoole Loader redis fileinfo 如何安装'>https://bbs.zonghengtx.cn/thread-1789-1-1.html</a></p>

huaidan 发表于 2025-3-28 17:00:21

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">我是个凑数的。。。

huaidan 发表于 2025-3-28 17:26:30

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">谢谢楼主,共同发展

huaidan 发表于 2025-3-28 17:50:23

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">我抢、我抢、我抢沙发~

huaidan 发表于 2025-3-28 18:06:30

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">学习了,不错,讲的太有道理了

huaidan 发表于 2025-3-28 18:26:31

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">沙发!沙发!

huaidan 发表于 2025-3-28 18:42:35

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">相当不错,感谢无私分享精神!

huaidan 发表于 2025-3-28 18:58:13

<link rel="stylesheet" type="text/css" href="source/plugin/qzom_thread/styles/4/styles.css">帮帮顶顶!!
页: [1]
查看完整版本: 建站教程PHP扩展安装和配置Swoole Loader redis fileinfo 如何安装菜鸟教程扩展,安装,配置,如何 - Powered by Discuz!