PHP FPM and OCI8 crashes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Recently, I decided to use PHP FPM, installation went well, I configured it
with Nginx.

I can run php script without any issue.

But when I used a script to connect to Oracle database using oci module, I
got a blank page.

Below is the code I am using in script.

<?php

$c = oci_connect("mydb", "password", 'DEV');

if(!c)
{
      $e = oci_error();
      print htmlentities($e['message']);
      exit;
}
else
{
     echo '<br />Connection is OK';
}
?>

If I run this script from command line it works well.

-------
/usr/local/php/bin/php db_test.php

Connection is ok
------

But when I run it from Web it does not return any thing, I got following
error in FPM log, nothing else.

WARNING: [pool www] child 15712 exited on signal 11 (SIGSEGV) after
3986.160925 seconds from start

It is getting segfault.

Anyone can suggest what could be possible reason.

PHP veriosn 5.3.8

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux