Odd CGI error - help! Deadline looms...

From: Date: Thu, 03 Jul 2003 03:54:43 +0000
Subject: Odd CGI error - help! Deadline looms...
Groups: php.general 
Request: Send a blank email to php-general+get-153820@lists.php.net to get a copy of this message
Has anyone ever seen the likes of this? I get the following lines when I use a custom compiled CGI app to run my PHP scripts. I followed the directions at http://www.kellybreed.com/phpinstall.txt and had success on one site. This different site, same server, generates the error. Warning: Unexpected character in input: '' (ASCII=27) state=1 in /home/.tabasco/ingroup/testing.somecompany.biz/cgi-bin/php.cgi on line 2260 Parse error: parse error in /home/.tabasco/ingroup/testing.somecompany.biz/cgi-bin/php.cgi on line 2260 I have tried compiling the .cgi binary with different options, only to get something like "Unexpected character in input: '' (ASCII=8) ... on line 366" instead Here's the .htaccess statements I'm using: AddHandler php-cgi .php Action php-cgi /cgi-bin/php.cgi ... Oh yeah, if I blank out these two lines in .htaccess and use the native Apache mod to run the PHP my script runs fine... John

« previous php.general (#153820) next »