I need to run a .cgi file inside cgi-bin folder. I put cgi-bin folder on app/public folder. When I run http://localsite.dev/cgi-bin/test.cgi the browser downloads the files and the files never execute. I need to enable CGI run on cgi-bin folder.
I solved the issue. I created a custom install with php 5.6.x and Apache (not Nginx). Then, checking conf/apache/conf-enabled/serve-cgi-bin.conf I found:
Yep. In fact, I’m migrating an older TPV (based con CGI) to a new web service based version. I need to keep working the old one until the new one works.