node.js serve a wordpress blog

前端 未结 6 1105
Happy的楠姐
Happy的楠姐 2020-12-17 19:40

I am using node.js on my rackspace server to serve my various applications. (Using node-http-proxy).

However, i would like to start a wordpress blog. The only way to

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-17 19:57

    I recently needed to get a server within an electron app to serve PHP. I started with grunt-php by Sindre Sorhus. The main change I made was to remove the code that kills the server process when grunt is done, instead instantiating the PHP class from JS and calling the process as needed. Ultimately, it was very easy to adapt grunt-php to enable PHP on a node.js server.

提交回复
热议问题