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