I've installed (without problems) PHP4 with Apache and satellite CORBA:
glib1.2.9
ORbit from http://download.2good.nu/satellite/ORBit-20000902.tgz
Apache 1.3.27
php4.0.4pl1 (static module)
The installation was right.
When a run my script corba1.php from a browser: http://server/corba1.php, the apache child abort.
corba1.php -------------------------------
<?php
if (($ref = fopen("hello.ref", "r")) == false)
{
printf("Error\n");
}
fscanf($ref, "%s", $ior);
printf("IOR: %s\n", $ior);
fclose($ref);
echo "This and example with PHP4 and CORBA";
$obj = new OrbitObject ($ior);
$obj->hello();
?>
There is an Orbit server (with a servant which ior is in hello.ref) running in the same machine than PHP.
php resolve the following ERROR in apache/log/error_log and php doesn't return anything to the browser:
=============================================[Wed Mar 28 19:37:33 2001] [notice] Apache/1.3.17 (Unix) PHP/4.0.4pl1 configured -- resuming normal operations
[Wed Mar 28 19:37:33 2001] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache_1.3.17s2/bin/suexec)
GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.
GLib-CRITICAL **: file gmem.c: line 563 (g_mem_chunk_alloc): assertion `mem_chunk != NULL' failed.
[Wed Mar 28 19:37:52 2001] [notice] child pid 3200 exit signal Segmentation fault (11)
I know that the error is produced in call to "OrbitObject".
Do you know about? Could you help me?
Thanks in advance.