Question

I have a web app written in PHP that shell_exec()'s a program written in C++ (which does some intensive calculations and returns a result back to PHP).

Do you know which PaaS providers allow this?

Was it helpful?

Solution

Have you looked at OpenShift by Red Hat? They have powerful customization capabilities (with scripts and such things) that allow you to do just about anything. Look for "action hooks". It's one of the mechanisms that allow you to customize your environment when certain events occur. For example, I used an action hook to install a custom version of Node.js upon application startup in order to circumvent the limitations of the pre-installed Node.js. You can certainly do the same with PHP.

OpenShift by Red Hat

Edit

I once was going to use it to develop a Node.js application that included a custom Node.js extension written in C++.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top