Jump to content

PHP 5.2.9 Bug?


StateWorker

Recommended Posts

I'm trying to get Zend Server to work.  It has the new version of PHP, 5.2.9.  My system runs fine on the 5.2.4 version in Zend Platform, and mostly fine with Zend Server.  There seems to be an issue with on process in the system.  I've worked all day to get something small enough to post that recreates the problem.

 

If I run the following code:

 

$temp1=array();

$temp1[]=1;

$sql ="select * from control";

$result=mysqli_query($_SESSION['sql_1'],$sql);

if ( !$result ) {

  die();

}

while ( ($row=mysqli_fetch_assoc($result)) ) {

  foreach ( $temp1 as $k=>$v ) {

    print "here 1 ".$v."<BR>";

  }

}

 

I get a Fast CGI ErrorL:

 

FastCGI Error

The FastCGI Handler was unable to process the request.

--------------------------------------------------------------------------------

 

Error Details:

 

The FastCGI process exited unexpectedly

Error Number: -2147467259 (0x80004005).

Error Description: Unspecified error

HTTP Error 500 - Server Error.

Internet Information Services (IIS)

 

If I comment out the "die();" line, it runs fine.

 

This seems odd to me.  Any ideas?

 

Thank You.

Link to comment
https://forums.phpfreaks.com/topic/159167-php-529-bug/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.