搜索内容

PHPCMS

  • Linux

    宝塔面板启动nginx出现报错 nginx启动,出现libluajit-5.1.so.2错误的解决方法

    通过宝塔面板启动Nginx 提示报错,通过 nginx configtest 提示报错如下 nginx: error while loading shared libraries: libluajit-5.1.so.2: cannot open shared object file: No such file or directory 这种情况是动态链接库失效   解决办法 1、编辑 vim /etc/ld.so.conf 将 /usr/local/lib 加载最后一行,最后的……
    admin 2024-12-20
  • PHPCMS

    phpcms开启https后出现重定向循环或打不开的解决办法

    Phpcms不支持https的解决办法,修改文件,使用https协议。 1、\phpcms\libs\functions\global.func.php 找到: $url = str_replace(array('http://','//','~'), array('~','/','http://'), $url); 替换为: $url = str_replace(array('https://','//','~'), array('~','/','https://'), $url); 理论上修改这一个文件后,……
    admin 2024-06-29
  • Apache

    The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.

    The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. 原因是使用apache 由于启用HTTP2,浏览器默认在同证书、同IP的情况下会采取连接复用 ,如果配置两个站点的配置不通 或根证书不一致,会导致服务器拒绝浏览……
    admin 2023-12-29
  • PHPCMS

    PHPCMS V9伪静态规则

    PHPCMS程序中已经默认包含了 apache 伪静态规则,但是如果您使用IIS则需要自己转换一次。 apache 规则 将规则放在根目录.htaccess文件中 RewriteEngineon RewriteRule ^content-([0-9]+)-([0-9]+)-([0-9]+).html index.php?m=content&c=index&a=show&catid=$1&id=$2&page=$3 RewriteRule ^show-([0-9……
    admin 2021-08-29