ID: 19702 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache related Operating System: FreeBSD 4.7 PHP Version: 4.2.3 New Comment:
That simple 'printenv' script works (and has always worked) just fine here so I'm pretty sure your configuration is somewhat broken. I suggest you try with stock apache httpd.conf and then do a clean install of PHP. (please add your configure line for PHP here btw) Previous Comments: ------------------------------------------------------------------------ [2002-10-14 23:20:44] [EMAIL PROTECTED] nope, no cgi will work using mod_cgi. perl scripts if run via mod_perl work fine. cgi's via fastCGI kinda work... POSTs fail with an internal server error, GETs work fine ------------------------------------------------------------------------ [2002-10-14 22:54:45] [EMAIL PROTECTED] Does any simple cgi scripts work..like the apache provided exampe printenv script? ------------------------------------------------------------------------ [2002-10-14 22:16:07] [EMAIL PROTECTED] I dunno... unless something changed in the syntax. My cgi's definitely worked before upgrading too. I was messing a cgi based monitoring tool (nagios) a few days before the upgrade. It worked and then it didn't. It took me a few days to notice but the only event between the "working" and "non-working" state was the upgrade. ------------------------------------------------------------------------ [2002-10-14 18:50:01] [EMAIL PROTECTED] This is very likely a problem with your apache configure. Try using the stock httpd.conf and add the correct PHP related lines. ------------------------------------------------------------------------ [2002-10-14 14:41:21] [EMAIL PROTECTED] Got the same problem after upgrading to mod_php 4.2.3 perl and shell scripts executed as cgi started giving error 500, despite they have been running fine before. They were running fine from shell. Disabling mod_php4 in apache httpd.conf restored the normal behavior. We had to roll back the upgrade. Please let us know when this will be fixed Other info: FreeBSD 4.7, apache 1.3.27 Hope this helps others... Francoise ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19702 -- Edit this bug report at http://bugs.php.net/?id=19702&edit=1