选择nginx+PHP然后启动
输入localhost就可以运行
运行分几部分
一个是PHP
从下载的PHP版本目录里面有一个php-cgi.exe
一个是nginx服务器
下面是配置文件

{
listen 80;
server_name localhost;
root "D:\wamp\www\gouwuw";//这是PHP运行的目录
location / {//这是url的匹配规则
index index.php ;
autoindex off;
if (!-e $request_filename){//这是省略index.php
rewrite ^(.*)$ /index.php?s=$1 last; break;
}
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php(.*)$ {//下面这一段复制就好了
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
include fastcgi_params;
}
}