Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jf99

    (@jf99)

    To be sure, I updated apache2.conf (no httpd.comf on Debian) and .htaccess for CGI. Still not working. My script is very simple as I just want to launch (and forget) an independent python program from a wordpress page without passing parameters/output – all on the same server: <?php exec(‘python3 /home/pi/webapp/app4.py’); ?> I use an html block on the wordpress page to write the script. Any idea why it’s not working?

    Thread Starter jf99

    (@jf99)

    Hi Joy, both Python and WordPress are installed on one system: Raspberry Pi 4 running Debian/Apache2/SQL. I would like to trigger a Python application from a WordPress page. Is it possible? (I tried PHP scripts via plugins but that didn’t work). Thanks, John

Viewing 2 replies - 1 through 2 (of 2 total)