Hi,

I assume that it is not a normal behavior of PHP to get crashed together
with Apache by a simple script.

I tried to set up PHPGroupWare and at the second setup step (when I try to
enter my password at the "Setup/Config Admin Login") I got no answer from
Apache. After a little investigation I found out that the apache child
dies when it tries to parse the .php file.

This php file is phpgw_schema_current.inc.php from the PHPGroupWare
distribution.

When I open this file simply in my browser, then PHP parses it correctly.

Here are my package versions:
libc6                   2.2.4-1
apache                  1.3.20-1.1
php4                    4.0.6-5
php4-imap               4.0.6-5
phpgroupware            0.9.10v-6
mysql-server            3.23.31-1
(Debian 2.2)

And here is the end of the output of strace -f apache -X:
...
open("./inc/phpgw_schema_current.inc.php", O_RDONLY|O_LARGEFILE) = 8
getcwd("/usr/share/phpgroupware-core/setup", 4095) = 35
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/share/phpgroupware-core", {st_mode=S_IFDIR|0755,
st_size=4096,
...}) = 0
lstat64("/usr/share/phpgroupware-core/setup", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat64("/usr/share/phpgroupware-core/setup/inc", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
lstat64("/usr/share/phpgroupware-core/setup/inc/phpgw_schema_current.inc.php",
{st_mode=S_IFREG|0644, st_size=16578,ioctl(8, SNDCTL_TMR_TIMEBASE,
0xbfffc28c) = -1 ENOTTY (Inappropriate ioctl for device)
fstat64(8, {st_mode=S_IFREG|0644, st_size=16578, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0)
= 0x40372000
read(8, "<?php\n  /***********************"..., 8192) = 8192
brk(0x81bb000)                          = 0x81bb000
brk(0x81cb000)                          = 0x81cb000
read(8, "rray(\n\t\t\t\"fd\" => array(\n\t\t\t\t\"tod"..., 8192) = 8192
read(8, "recision\" => 255),\n\t\t\t\t\"hook_fil"..., 8192) = 194
read(8, "", 4096)                       = 0
read(8, "", 8192)                       = 0
ioctl(8, SNDCTL_TMR_TIMEBASE, 0xbfffb268) = -1 ENOTTY (Inappropriate ioctl
for device)
close(8)                                = 0
munmap(0x40372000, 4096)                = 0
brk(0x81cc000)                          = 0x81cc000
(the last line repeats severalt times and then...)
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Have someone met this problem before? Or does someone know of a quick
solution? I need PHPGroupWare work.

thanks

-- 
 Gabor Gludovatz <[EMAIL PROTECTED]> http://www.sopron.hu/~ggabor/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to