Keywords: NodeJS - AWS - Technical issue - Other
I'm unfortunately stuck with the need to process a single .php file on my NodeJS application (running Ubuntu 16.04 LTS).
So far, I've set up a VirtualHost, and Apache is successfully directing the browser to the .php file -- but, it's displaying in HTML because I haven't been able to set up php correctly. I was close to successfully setting up regular php, but I got an error that said I was required to use php-fpm.
I've exhausted the resources online. I know running a php server and a node server together is not ideal, but I'm looking for help trying to hack these two to work nicely together.
I want to be able to do something like this:
# 2.4.10+ can proxy to unix socket
But between PHP settings/versions, Apache settings, Bitnami settings, Bitnami ctlscripts versus Apache ctlscripts, and my Express server, I'm having trouble connect all the dots.
Am I missing an possibly easy solution? Or can someone point me in the right direction? Please help me.