ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 9773

How would I go about starting a program using PHP?

by GTTE - 05-12-2018 - 11:57 AM
#1
Hey! My first thread!

So basically, I'm working on this arcade machine project for my living room, and I want to make the game .exe files launchable via PHP.

The issue is that when I do manage to launch the program with all of the parameter string, it's started under the NGINX CPU Thread/Process, which then causes it to crash due to its inability to access the required libraries under the NGINX permissions.

Would it be possible to start the process on its own using PHP?
Reply
#2
huhh, i d'ont pro
Reply
#3
(05-12-2018 - 11:57 AM)GTTE Wrote: Hey! My first thread!

So basically, I'm working on this arcade machine project for my living room, and I want to make the game .exe files launchable via PHP.

The issue is that when I do manage to launch the program with all of the parameter string, it's started under the NGINX CPU Thread/Process, which then causes it to crash due to its inability to access the required libraries under the NGINX permissions.

Would it be possible to start the process on its own using PHP?

php-cli is a solution
Reply

Users browsing: 1 Guest(s)