推荐阿里云服务器配置

环境要求
Nignx/Apache PHP  7.4  MySQL 5.6~8.0 Redis 支持
伪静态配置
Nginx
location / {  if (!-e $request_filename) {   rewrite  ^(.*)$  /index.php/$1  last;  break;  } }
Apache
<IfModule mod_rewrite.c>  Options +FollowSymlinks -Multiviews  RewriteEngine On  RewriteCond %{REQUEST_FILENAME} !-d  RewriteCond %{REQUEST_FILENAME} !-f  RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]  RewriteEngine on RewriteCond % !^$ </IfModule>
 
                 
                 
                 
                
发表评论 取消回复