朱纯树博客
VPS测评推荐网站
cloudacead cloudacead

解决宝塔安装SG11报错

SourceGuardian 不兼容的加载程序版本。此受保护的脚本是用更新版本的sourceguardian编码的。请下载并安装最新的加载程序。中的错误代码[19]

宝塔面板自带的版本已经跟不上现在加密的步伐了,于是需要手动更新一下SourceGuardian

更新 /安装 SourceGuardian

浏览器中打开 https://www.sourceguardian.com/loaders/download.PHP
然后在微擎根目录新建文件名为test.PHP文件,代码如下;

<?php
    echo phpinfo();
?>

然后把详细网址写到这个框框里,如下图所示;回车然后就会自动判断你的服务器该安装那个版本;
SG11 更新安装界面.pngSG11 更新安装界面.png
在线的检查脚本会根据 phpinfo 的信息,提取到 php 版本信息和扩展路径,然后提示你需要的操作。例如它提示我 extension_dir 应设置为绝对路径而非相对路径:
SG11 路劲检测.pngSG11 路劲检测.png
那就改呗,在 PHP.ini 中找到 extension_dir,将原来的相对路径 ./ext 改为绝对路径。重启 Apache 然后重新执行检测:
SG11更新.pngSG11更新.png

到这一步它提示我需要:

下载 ixed.5.6.win
安装到 php 扩展的 ext 目录
在 php.ini 中加载它:extension=ixed.5.6.win
重启 Apache
全部修改完成后,在 phpinfo 看到了 SourceGuardian 的相关信息,说明扩展已经生效了:

最后

建议大家使用PHP还是不要运行在win环境,大大小小的坑很多,需要自己踩,确实浪费时间。
另外安装了SG11扩展后,要重启一下PHP,不知道的就重复服务器吧。

赞(0) 打赏
未经允许不得转载:VPS测评推荐网站 - 朱纯树博客 » 解决宝塔安装SG11报错

评论 730

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #735

    Long-Term Effects. Prescription Drug Information, Interactions & Side.
    ivermectin 200mg
    Read information now. Everything information about medication.

    KevinCaf11小时前回复
  2. #734

    Everything is very open and very clear explanation of issues. was truly information. Dünyanın her yerinden kalite puanı yüksek sitelerden hacklink almak için bizimle iletişim kurabilirsiniz. Hacklink ihtiyaçlarınledebilirsiniz.

    Hacklink15小时前回复
  3. #733

    What side effects can this medication cause? Medscape Drugs & Diseases.
    ivermectin cream uk
    What side effects can this medication cause? Read information now.

    Zacharybor16小时前回复
  4. #732

    drug information and news for professionals and consumers. Generic Name.
    https://stromectolst.com/# ivermectin pill cost
    Get information now. Long-Term Effects.

    Ronaldhax16小时前回复
  5. #731

    Thank you great posting about essential oil. Hello Administ . Dünyanın her yerinden kalite puanı yüksek sitelerden hacklink almak için bizimle iletişim kurabilirsiniz. Hacklink ihtiyaçlarınledebilirsiniz.

    Hacklink16小时前回复
  6. #730

    Get here. Some are medicines that help people when doctors prescribe.
    п»їorder stromectol online
    Everything information about medication. Some are medicines that help people when doctors prescribe.

    Jesselap17小时前回复
  7. #729

    Nice article inspiring thanks. Hello Administ . Dünyanın her yerinden kalite puanı yüksek sitelerden hacklink almak için bizimle iletişim kurabilirsiniz. Hacklink ihtiyaçlarınledebilirsiniz.

  8. #728

    drug information and news for professionals and consumers. Actual trends of drug.
    https://stromectolst.com/# stromectol liquid
    Get information now. Medscape Drugs & Diseases.

    KevinCaf1天前回复
  9. #727

    I really love to read such an excellent article. Helpful article. Hello Administ . Dünyanın her yerinden kalite puanı yüksek sitelerden hacklink almak için bizimle iletişim kurabilirsiniz. Hacklink ihtiyaçlarınledebilirsiniz.

  10. #726

    Commonly Used Drugs Charts. Generic Name.
    https://stromectolst.com/# stromectol tablet 3 mg
    Some trends of drugs. п»їMedicament prescribing information.

    Ronaldhax2天前回复