I've been banging my head against the wall with this one for 2 days now. Hopefully a guru out there will point out what is probably blatantly obvious
I'm running Apache and PHP on a FreeBSD 4.7 RELEASE box. I recently upgraded using the ports collection, and I noticed that all of my CGIs returned Internal Server Errors-- premature end of script. PHP works fine.
After many hours of tinkering (recompile, install, etc.) with PHP and Apache through the ports, I discovered that when I comment PHP out of the Apache config (meaning I comment out the AddModule/LoadModule lines), my CGIs work flawlessly. Adding the PHP module back in throws me right back to Internal Server Errors for my CGIs.
Here are the details:
Apache version 1.3.28
PHP version php-4.3.3RC2
both compile without errors
Thanks in advance for any help!! My (abridged) httpd.conf is attached