+
95
-

回答

 location  ~ ^/php55/.*.(php|php5)$ {
fastcgi_pass unix:/dev/shm/php55-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}

location ~ ^/php72/.*.(php|php5)$ {
fastcgi_pass unix:/dev/shm/php72-cgi.sock;
fastcgi_index index.php;
include fastcgi.conf;
}

网友回复

我知道答案,我要回答