PHP 4.0 Bug #5679: PHP dies when call from Apache/CGI

From: Date: Wed, 19 Jul 2000 18:08:33 +0000
Subject: PHP 4.0 Bug #5679: PHP dies when call from Apache/CGI
Groups: php.dev 
Request: Send a blank email to php-dev+get-25145@lists.php.net to get a copy of this message
From: werner.stegbauer@de.abb.com Operating system: NT 4.0 PHP version: 4.0.0 PHP Bug Type: Reproduceable crash Bug description: PHP dies when call from Apache/CGI When I call PHP via an URL "/localhost/cgi-bin/phi.php" it comes up but dies immediately with an displayed NT Error Message Box saying in Title: "OleMainThreadWndName: php.exe" and in the box itself (in german, I translate it here): "The instruction in 0x1007d14e point to 0x00000. The "read" could not be processed" The file phi.php does contain only this: #!php.exe <? print "here is phi<BR>\n"; ?> If I call phi.php from command line it works fine. My impression is, that php does not even touch the file phi.php when called via cgi. I have Apache 1.3.11 and PHP 4.0.1pl2. If have the PHP path system wide defined in the PATH variable and also '.php' associated with PHP. And I have edited http.conf as in your documentation outlined (replacing php3 by php). Any Ideas? Thanks a lot

« previous php.dev (#25145) next »