I'm new to SAS but as a software developer whose done a number of mixed stacks with PHP including Java/PHP I would strongly advise not to mix them directly. Tends to get convoluted and the work required in my experience had poor ROI. The hacks to get Java working in PHP reliably or even calling Java binaries isn't ideal. Calling Python binaries/scripts generally I've found less problematic but still not ideal. Would be better to have the data/tasks distributed through some JSON friendly service (a Rest API basically) or queue service. Probably easiest to do in Python if there is a learning curve involved. Once done it easy to call that service via the web server/PHP.
... View more