Set up

  1. set up nginx

    server {
            listen       80;
            server_name  localhost;
            root D:\\\\free\\\\wordpress-6.4.3;     
            index index.php;
            error_page   500 502 503 504  /50x.html;
            location = /50x.html {
                root   html;
            }
            location ~ \\.php$ {
               root           D:\\\\free\\\\wordpress-6.4.3;
               fastcgi_pass   127.0.0.1:9000;
               fastcgi_index  index.php;
               fastcgi_param  SCRIPT_FILENAME  D:\\\\free\\\\wordpress-6.4.3$fastcgi_script_name;
               include        fastcgi_params;
            }
        }
    
  2. start php cgi: .\\php-cgi.exe -b :9000 -c php.ini , but need open some extentions for wp to use like mysqli

  3. Update db config in wp-config.php file

Plugin