Score:0

How to run a php application on a subdomain , and another nodejs application on another subdomain on the same nginx server?

ng flag

I hav a domain exemple.com , i need to run a php application on php.exemple.com and nodejs application on nodejs.exemple.com using nginx on ubuntu 20.

the nodejs application is already running on reverse proxy ,so i need to add the php app. What should i install for php ?

I did work on php for a while but that was on windows so trying to install php-fpm on the production server looks dangerous if you don't know what to do with it !

Michael Hampton avatar
cz flag
Don't do it in production first. Use a testing (virtual) machine that is set up like the production server.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.