Two programs cannot monitor the same port at the same time. You can try using nginx+php-fpm or all on apache.
I personally recommend using nginx+php-fpm, because php-fpm has been officially included and maintained by the official team, and wordpress.com also uses a deployment solution like nginx+php-fpm.
If you just answer the question,
Then it’s: no.
There can only be one software listening on a port.
If you have another answer, then it would be:
Web server has multiple domain names (the same host can be accessed through multiple domain names) (the virtual machine can be accessed by changing the host to create a virtual domain name),
Two programs cannot monitor the same port at the same time. You can try using nginx+php-fpm or all on apache.
I personally recommend using nginx+php-fpm, because php-fpm has been officially included and maintained by the official team, and wordpress.com also uses a deployment solution like nginx+php-fpm.
Why not configure several different apps on nginx?
Nginx can be configured with several different domain names.
For example
http://xiugq.blog.51cto.com/813544/693448
Just configure multiple domain names. Why do you have to use apache and nginx to monitor at the same time?
Multiple IPs are OK.
For example one is 111.111.111.111:80 and the other is 127.0.0.1:80 .
You can use nginx reverse proxy, but it is recommended that you move WordPress to apache.
No, it will conflict.
If you just answer the question,
Then it’s: no.
There can only be one software listening on a port.
If you have another answer, then it would be:
Web server has multiple domain names (the same host can be accessed through multiple domain names) (the virtual machine can be accessed by changing the host to create a virtual domain name),