f9yx0du 发表于 2024-10-5 04:09:36

php7.4.32怎么样快速正确的开启OpenSSL扩展 最简单的办法在这儿!


    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"> 作者:极客小俊</span></strong><strong style="color: blue;"><span style="color: black;"> 把<span style="color: black;">规律</span>思维转变为代码的技术博主</span></strong></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p26-sign.toutiaoimg.com/tos-cn-i-axegupay5k/3134b427abea4421a4c5da0b2dee66aa~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=KrFlq1khnytZO2B7RJulSqSerAk%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">OpenSSL扩展介绍</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在PHP中,</span><span style="color: black;"><span style="color: black;">OpenSSL扩展库</span></span><span style="color: black;">是一个用于实现</span><span style="color: black;"><span style="color: black;">加密</span></span><span style="color: black;">和</span><span style="color: black;"><span style="color: black;">解密</span></span><span style="color: black;">功能的扩展, 用于安全通信。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">OpenSSL扩展库</span></span><span style="color: black;"><span style="color: black;">能够</span>执行<span style="color: black;">各样</span></span><span style="color: black;"><span style="color: black;">加密操作</span></span><span style="color: black;">,如</span><span style="color: black;"><span style="color: black;">数据加密、解密、数字签名</span></span><span style="color: black;">等。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">另外</span></span><span style="color: black;"><span style="color: black;">OpenSSL扩展库</span></span><span style="color: black;">还支持证书生成和验证,以及<span style="color: black;">各样</span>加密算法,如</span><span style="color: black;"><span style="color: black;">对<span style="color: black;">叫作</span>加密算法AES</span></span><span style="color: black;">和</span><span style="color: black;"><span style="color: black;">非对<span style="color: black;">叫作</span>加密算法RSA</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">OpenSSL扩展库</span></span><span style="color: black;"><span style="color: black;">针对</span>实现安全的</span><span style="color: black;"><span style="color: black;">数据传输</span></span><span style="color: black;">和</span><span style="color: black;"><span style="color: black;">身份验证</span></span><span style="color: black;">等应用场景非常有用。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">例如,您<span style="color: black;">能够</span><span style="color: black;">运用</span></span><span style="color: black;"><span style="color: black;">OpenSSL扩展</span></span><span style="color: black;">来创建安全的</span><span style="color: black;"><span style="color: black;">HTTPS连接</span></span><span style="color: black;">,<span style="color: black;">保证</span>数据在传输过程中被加密<span style="color: black;">守护</span>。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">另外</span>,<span style="color: black;">经过</span><span style="color: black;">运用</span></span><span style="color: black;"><span style="color: black;">OpenSSL扩展</span></span><span style="color: black;">,还<span style="color: black;">能够</span>生成数字证书,以便在</span><span style="color: black;"><span style="color: black;">Web服务器</span></span><span style="color: black;">上启用</span><span style="color: black;"><span style="color: black;">HTTPS连接</span></span><span style="color: black;">,并<span style="color: black;">保证</span>网站的安全性。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">总的<span style="color: black;">来讲</span></span><span style="color: black;"><span style="color: black;">OpenSSL扩展库</span></span><span style="color: black;">是</span><span style="color: black;"><span style="color: black;">PHP</span></span><span style="color: black;">中一个强大的</span><span style="color: black;"><span style="color: black;">加密</span></span><span style="color: black;">和</span><span style="color: black;"><span style="color: black;">解密</span></span><span style="color: black;">工具, 并可用于实现<span style="color: black;">各样</span>安全应用场景。</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">应用场景</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">当你<span style="color: black;">运用</span></span><span style="color: black;"><span style="color: black;">php</span></span><span style="color: black;">中的</span><span style="color: black;"><span style="color: black;">openssl</span></span><span style="color: black;">开头函数的时候,<span style="color: black;">倘若</span><span style="color: black;">无</span>正确开启,则会<span style="color: black;">显现</span>以下<span style="color: black;">状况</span>!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/f69ba4ef7c594766973d37e8cb20cdcc~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=HXnupLONPtp50dIXXvDDxVz%2FEB8%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/5366454fcec84bee9be88c053ef54d7b~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=YO%2Bqs2z2w6HTuZ2PjChAucZZmv0%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">本质都是环境中缺少</span><span style="color: black;"><span style="color: black;">openssl</span></span><span style="color: black;">依赖扩展库</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">那样</span>此时你其实<span style="color: black;">能够</span>先查看一下你的php配置<span style="color: black;">状况</span></span></p><span style="color: black;">echo</span>phpinfo();<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/f2b2e1b82c4c48e4ad3722073e9e0ce1~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=OTjAwMSsQi19zTQwwtzqyX8%2BAFU%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">你<span style="color: black;">能够</span>查看一下</span><span style="color: black;"><span style="color: black;">OpenSSL support</span></span><span style="color: black;">这个选项,<span style="color: black;">倘若</span>你看到为</span><span style="color: black;"><span style="color: black;">disabled(禁用)</span></span><span style="color: black;"> 说明你还未正确开启, <span style="color: black;">因此</span>会报以上的<span style="color: black;">哪些</span>奇奇怪怪的错误!</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">开启OpenSSL扩展</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">要在</span><span style="color: black;"><span style="color: black;">PHP</span></span><span style="color: black;">中<span style="color: black;">运用</span></span><span style="color: black;"><span style="color: black;">OpenSSL扩展库</span></span><span style="color: black;">,<span style="color: black;">首要</span>需要在</span><span style="color: black;"><span style="color: black;">服务器</span></span><span style="color: black;">或</span><span style="color: black;"><span style="color: black;">本地环境</span></span><span style="color: black;">中安装</span><span style="color: black;"><span style="color: black;">OpenSSL库</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span>安装的</span><span style="color: black;"><span style="color: black;">php7.4.32</span></span><span style="color: black;">中其实<span style="color: black;">已然</span>把<span style="color: black;">关联</span>的文件都默认打包安装上了</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">咱们</span>只需要做<span style="color: black;">有些</span><span style="color: black;">关联</span>的配置和文件修改就<span style="color: black;">能够</span>了!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这儿</span><span style="color: black;">因为</span><span style="color: black;">咱们</span>是</span><span style="color: black;"><span style="color: black;">手动安装php</span></span><span style="color: black;">和其他</span><span style="color: black;"><span style="color: black;">php集成环境</span></span><span style="color: black;">有所<span style="color: black;">区别</span>,<span style="color: black;">由于</span>可能其他集成环境默认就自动打开了</span><span style="color: black;"><span style="color: black;">OpenSSL</span></span><span style="color: black;">的所有功能!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">那样</span><span style="color: black;">详细</span><span style="color: black;">仔细</span><span style="color: black;">过程</span>如下!</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">修改php.ini</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">找到你自己安装的</span><span style="color: black;"><span style="color: black;">php</span></span><span style="color: black;">配置文件, 千万别找错文件了!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/74c6fe3966614c458827717b96115c8d~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=qP7vTGo%2Fei5V91HILq2ipUIxePY%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">用<span style="color: black;">有些</span><span style="color: black;">平常</span>的编辑器打开它!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">我<span style="color: black;">这儿</span><span style="color: black;">运用</span>的是</span><span style="color: black;"><span style="color: black;">phpStorm</span></span><span style="color: black;">方便查看!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/25d2214158f640d5bde11371cc734a6e~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=O%2BvNJMBDhq8CeYFJJJ%2B%2BVwtJdwM%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">重视</span></span><span style="color: black;"><span style="color: black;">extension_dir</span></span><span style="color: black;">配置选项<span style="color: black;">亦</span>要指定到自己正确的</span><span style="color: black;"><span style="color: black;">ext</span></span><span style="color: black;">目录路径</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/26d69756c3e1481ca44c7ea185946f8e~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=IadMlKvd8Mxu5h347nggptmjotg%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span><span style="color: black;">非常多</span>人认为就这么一步就完<span style="color: black;">成为了</span>!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">然则</span>依旧会提示<span style="color: black;">没法</span><span style="color: black;">运用</span></span><span style="color: black;"><span style="color: black;">OpenSSL扩展库</span></span><span style="color: black;">函数的<span style="color: black;">状况</span>!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这个时候<span style="color: black;">咱们</span>还要做<span style="color: black;">有些</span>工作才行!</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">复制<span style="color: black;">关联</span>DLL文件到指定目录</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在</span><span style="color: black;"><span style="color: black;">php7.4</span></span><span style="color: black;">版本之后, <span style="color: black;">咱们</span>要将</span><span style="color: black;"><span style="color: black;">libcrypto-1_1-x64.dll,libssl-1_1-x64.dll</span></span><span style="color: black;">这两个</span><span style="color: black;"><span style="color: black;">DLL</span></span><span style="color: black;">文件复制到你的</span><span style="color: black;"><span style="color: black;">Apache</span></span><span style="color: black;">安装环境中的 </span><span style="color: black;"><span style="color: black;">bin目录</span></span><span style="color: black;">下!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">由于</span>在</span><span style="color: black;"><span style="color: black;">php5.x</span></span><span style="color: black;">版本你可能是复制</span><span style="color: black;"><span style="color: black;">libeay32.dll</span></span><span style="color: black;">和</span><span style="color: black;"><span style="color: black;">ssleay32.dll</span></span><span style="color: black;">到</span><span style="color: black;"><span style="color: black;">apache</span></span><span style="color: black;">的</span><span style="color: black;"><span style="color: black;">bin目录</span></span><span style="color: black;">,而在</span><span style="color: black;"><span style="color: black;">php7.x</span></span><span style="color: black;">版本中取而代之的是 </span><span style="color: black;"><span style="color: black;">libcrypto-1_1-x64.dll,libssl-1_1-x64.dll</span></span><span style="color: black;">这两个文件!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">那样</span>这两个文件在什么<span style="color: black;">地区</span>呢?</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">其实就在<span style="color: black;">咱们</span>安装的</span><span style="color: black;"><span style="color: black;">php7.4.32</span></span><span style="color: black;">的根目录下!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/324f02e5e5dd4117ab10812efcfb17d9~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=QkIVJPPWJ8z0z2cC%2BTBfJplfQxk%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span>复制这两个</span><span style="color: black;"><span style="color: black;">dll</span></span><span style="color: black;">文件拷贝到你安装的</span><span style="color: black;"><span style="color: black;">apache</span></span><span style="color: black;">安装目录下的</span><span style="color: black;"><span style="color: black;">bin目录</span></span><span style="color: black;">下就<span style="color: black;">能够</span>了!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">我<span style="color: black;">这儿</span><span style="color: black;">亦</span>是手动安装的</span><span style="color: black;"><span style="color: black;">apache</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">目录为:</span><span style="color: black;"><span style="color: black;">D:\apache 2.4.54\Apache24\bin</span></span><span style="color: black;"> 这是我的路径</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/bed7f8b3b1304d04ac80963d0c110e7a~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=Ac6nnwDEOKsSJPxMv8rqh5THewk%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span>为了<span style="color: black;">保证</span>万无一失,<span style="color: black;">咱们</span>还需要做<span style="color: black;">有些</span>小小的修改!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">例如</span>: 你最好查看一下</span><span style="color: black;"><span style="color: black;">Apache</span></span><span style="color: black;">中的</span><span style="color: black;"><span style="color: black;">conf</span></span><span style="color: black;">文件中的</span><span style="color: black;"><span style="color: black;">LoadModule ssl_module modules/mod_ssl.so</span></span><span style="color: black;"><span style="color: black;">是不是</span>开启</span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/8501ea5532ab4fa4b9c93a043909c14a~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=%2Bvol0VXUIfE0iTBjEyUd4A916ms%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">另一</span>最好把</span><span style="color: black;"><span style="color: black;">libcrypto-1_1-x64.dll、libssl-1_1-x64.dll、php_openssl.dll</span></span><span style="color: black;">这三个</span><span style="color: black;"><span style="color: black;">DLL</span></span><span style="color: black;">文件都分别复制到以下几个</span><span style="color: black;"><span style="color: black;">windows</span></span><span style="color: black;">系统目录<span style="color: black;">其中</span>!</span></p><span style="color: black;">C</span>:\Windows\System32
    <span style="color: black;">C</span>:\Windows\SysWOW64<p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">php_openssl.dll</span></span><span style="color: black;">文件默认就存在于</span><span style="color: black;"><span style="color: black;">php</span></span><span style="color: black;">的</span><span style="color: black;"><span style="color: black;">ext</span></span><span style="color: black;">目录中</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/7a4464c283814bcbae3ca33c0bd524bc~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=arMWzh2OPDbkgTQwn798BJPxNLw%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">而后</span>复制这</span><span style="color: black;"><span style="color: black;">3个DLL文件</span></span><span style="color: black;">到</span><span style="color: black;"><span style="color: black;">windows</span></span><span style="color: black;">的系统目录下</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/8cee9e63973b47c598515ced94cfa5de~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=tgQ%2BwqF9f60VxJoJyfJV3zUgM3U%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/44252b8f336f4cfca3c126f3159918c5~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=kDi6c5DlxbZWZDwhDDLtDfAkU0g%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">安装完成后,<span style="color: black;">咱们</span><span style="color: black;">能够</span>在</span><span style="color: black;"><span style="color: black;">PHP.ini配置</span></span><span style="color: black;">中开启</span><span style="color: black;"><span style="color: black;">OpenSSL扩展</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">最后<span style="color: black;">咱们</span>就重启一下</span><span style="color: black;"><span style="color: black;">apache、phpStorm、操作系统</span></span><span style="color: black;">我<span style="color: black;">意见</span>都重启一下,<span style="color: black;">而后</span>再次执行一下</span><span style="color: black;"><span style="color: black;">phpinfo()</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">你就<span style="color: black;">能够</span>看到</span><span style="color: black;"><span style="color: black;">OpenSSL模块</span></span><span style="color: black;"><span style="color: black;">已然</span>开启了 </span><span style="color: black;"><span style="color: black;">OpenSSL support enabled</span></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">如图</span></span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/bc94471b4b7148f48df9491c9cc60335~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=SP1HzPF2TEnAVY7gVytdqnNkPBw%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">此刻</span>你就<span style="color: black;">能够</span>并<span style="color: black;">经过</span></span><span style="color: black;"><span style="color: black;">OpenSSL</span></span><span style="color: black;">的<span style="color: black;">关联</span>函数和<span style="color: black;">办法</span>来<span style="color: black;">运用</span>其<span style="color: black;">供给</span>的功能就不会再报错了!</span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/c0b0f500ff7d464599287c7da462745a~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=Jx%2Fog%2B9JD1%2FE52%2FT1xu9a5RF3Tg%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/c75d0db3dc5a45af8ed6f10c81799893~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=hXUlsGUl1kn0Oh1RNdlGkUQ%2FMYw%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/fe4b83102c82415bb2d0369d39f28150~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=D3AMsS%2Bya5XmTJDJ1xxgSHd4kAc%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-6w9my0ksvp/57726e9f866e4cadb9ec5e3bb02b035f~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728295405&amp;x-signature=CsbQSXEctldzmDqe4uFpQQyYdWk%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">大众</span>的支持<span style="color: black;">便是</span>我<span style="color: black;">保持</span>的动力!</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">倘若</span><span style="color: black;">文案</span>对你有<span style="color: black;">帮忙</span>的话就请</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">点赞 ✍️评论 <span style="color: black;">保藏</span></span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;">一键三连哦!</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">倘若</span>以上内容有任何错误<span style="color: black;">或</span>不准确的<span style="color: black;">地区</span>,欢迎在下面 留个言指出!</span></strong></span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><strong style="color: blue;"><span style="color: black;"><span style="color: black;">或</span>你有更好的想法,欢迎<span style="color: black;">一块</span>交流学习❤️</span></strong></span></p>




页: [1]
查看完整版本: php7.4.32怎么样快速正确的开启OpenSSL扩展 最简单的办法在这儿!