skip to Main Content

pm2 via apache server

I want to control my pm2 app via apache server. I have tried it via a bash script and php. Here is my index.php: <html> <head> <meta c </head> <?php if (isset($_POST['RightOPEN'])) { exec("/home/pi/startmm.sh"); } if (isset($_POST['LeftOPEN'])) { exec("/home/pi/channel4.sh"); }…

VIEW QUESTION

PIP and python installing packages – CentOS

I have a CentOs system with both Python 2.7 and Python 3.4 installed. I do not have information regarding how these were installed. However, this is the response when the following commands are issued: whereis /usr/bin/python3 python3: /usr/bin/python3.4 /usr/bin/python3.4m /usr/lib/python3.4…

VIEW QUESTION
Back To Top
Search