Hi, this problem has had me stumped for weeks now.
I have written a compiled CGI script in C to rotate my log files each day. The problem is that I don't seem to be able to execute it from inside PHP. It runs fine if I access the file directly though.
The CGI doesn't have to return anything to the screen just execute it.
I am using a default installation of the MAMP server and I know the Apache server fairly well.
I have tried using:
passthru() system() and exec()
to execute my CGI from within PHP. If you have any ideas please let me know, it will be gratefully received.