php

  • index.php式伪静态_伪静态完美去掉index.php的方法

    index.php式伪静态_伪静态完美去掉index.php的方法环境说明: linux + Apache 2.0网站根目录下,index.php 所在目录内寻找.htaccess文件,如有修改以下代码,如果没有可新建.htaccess。同时添加强行跳转HTTPSRewriteEngine OnRewriteBase /RewriteCond %{SERVER_PORT} !^4…

    2023-03-23 11

  • apache的.htaccess文件重写 RewriteRule ^index\.php$ - [L]

    apache的.htaccess文件重写 RewriteRule ^index\.php$ - [L]Rewrite重写任务基本上都是由 RewriteCond 和 RewriteRule 两个命令配合完成。RewriteBase / 规定根目录为基准路径,RewriteCond 规定重写的条件,如果条件成立,那么将会执行 RewriteRule 所规定的重写规则。…

    2023-03-23 13

  • apache的.htaccess规则

    <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> # 打开Rerite功能 RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d Re…

    2023-03-23 15

  • windows下4种mysql 修改 root 密码的方法

    windows下4种mysql 修改 root 密码的方法方法 1: 用 SET PASSWORD 命令首先登录MySQL,格式:mysql> set password for 用户名@localhost = password(新密码);例子:mysql> set password for root@localhost = password(123);mysql> set password for root@loca…

    2023-02-06 23

  • phpStorm配置php环境

    打开软件点击“文件”(原版是英文,我的安装了汉化包,但是点击位置是一样的),在下拉菜单中选择“设置”点击后进入设置面板点击“PHP”再点击“CLI Interpreter”后的“三个点”请注意,旧版本中“PHP”隐藏“Languages&Frameworks”中,需要在“anguages&Fra…

    2023-02-05 52

1... 424344454647