Subject: pkg/29044: php4-apc has runtime failures
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <timo.schoeler@macfinity.net>
List: pkgsrc-bugs
Date: 01/22/2005 11:29:00
>Number:         29044
>Category:       pkg
>Synopsis:       php4-apc has runtime failures
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 22 11:29:00 +0000 2005
>Originator:     Timo Schöler
>Release:        NetBSD 2.0_RC4
>Organization:
//macfinity
>Environment:
NetBSD mcbain.kryptoev.de 2.0_RC4 NetBSD 2.0_RC4 (GENERIC) #0: Fri Oct 15 06:46:50 CEST 2004  tis@dreyfus.es43-bln.macfinity.net:/var/obj/sys/arch/i386/compile/GENERIC i386
>Description:
php4-apc compiles and installs okay, but does not run -- it fails, no php-created webpages are delivered.

the apache-log reads:

[Sat Jan 22 12:23:42 2005] [apc-error] apc_shm_create: shmget(0, 31457280,914) failed: Invalid argument

apache is the most recent 1.3, apache-1.3.33nb2
>How-To-Repeat:
install apache-1.3.33nb2, install php4-apc, and watch your dynamic website disappear.

it happenend with earlier releases of apache, too, but i'm almost sure that's a problem of apc, /not/ apache.
>Fix: