Jump to content

elevatecore

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by elevatecore

  1. I want to generate some mock data for my demo/workshop using node (javascipt) json. I don't want to run a dedicated node+express server wasting server resources like memory/cpu. These mock api calls will be called only during a workshop/demo otherwise there is no need of this service. So I have written a simple javascript to generate random json payload based on the request type. that I want to execute through simple php-node.php router where I will use shell_exec to run the node script on demand and it ends the request. Want to keep it simple and efficient on-demand execution instead of running a service forever on a different port. that causes CORS issue as well. Do you have a better alternate solution?
  2. Thanks for the info. This helps to some extent. I don't want run node app as service on any dedicated port. I want to execute a short-lived javascript like node getuser.js under (php shell_exec / popen) but I see my php configuration: disable_functions:opcache_get_status,exec,passthru,proc_nice,proc_open,shell_exec,system,popen,pcntl_exec I don't want to run any service forever, just use node based code to run per request and exit. How can I do that? Thanks in advance.
  3. I wanted to know the details of the server, installed software version, disk space usage in my space, etc. like uname -os ldd --version python --version node -v du -sh * du -sh .[^.]*
  4. Hi, I just signed up for hosting and checking for SSH Terminal access, but the dashboard shows it is forbidden. How to enable? Thanks Kumar
×
×
  • Create New...