[phpa] Re: SHM Permissions
- From: "Marco 'solariz' Goetze" <solariz2@xxxxxxxxxxxxx>
- To: "Nick Lindridge" <nick@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 6 May 2002 17:29:09 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Nick,
sure i've read the release notes allready and the new variables
ar
set.
phpa.shm_user="wwwrun"
phpa.shm_group="nogroup"
But in my Apache log the error iv'e mailed one minute ago appears
in short ranges. For now i've switched back to the 1.2p4
- --
Best regards,
Marco 'solariz' Goetze
PlanetLAN
mailto:solariz@xxxxxxxxxxxxx
PGP-Publickey: http://www.solariz.de/solariz.asc
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Monday, May 6, 2002, 5:24:50 PM, you wrote:
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>> Hi Nick,
>>
>> i've installed the new version and it seems there are Problems.
>> No files listed in the cached files list and the SHM isn't used.
Nick> This is likely to be because PHPA can't access the shared
memory.
Nick> In this release, the shared memory is now created by the user
who starts
Nick> apache. This is typically root, and so PHPA first runs as root
and creates
Nick> the shared memory at that point. If your php.ini sets the
shared memory
Nick> permissions to anything other than 666, then there is likely to
be a problem
Nick> *unless* you use the new shm_user and shm_group settings. The
problem is
Nick> because apache sets the user of children process to something
other than
Nick> root, and they can't then access the shared memory unless they
too have
Nick> write permission to the root-owned shared memory. This is all
explained in
Nick> the release notes.
Nick> Let me know if you're still stuck.
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: http://www.pgpi.org
iQA/AwUBPNaTNnPAGLgL6nysEQJdLgCgiGAAzP+Bomv7GurMkDMWHjGfcS0An07e
f6WdecW8c6ii5d+mwyZUGwJr
=b4Uo
-----END PGP SIGNATURE-----
------------------------------------------------------------------------
www.php-accelerator.co.uk Home of the free PHP Accelerator
To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe
- References:
- [phpa] Re: Version 1.3 released for Linux
- From: Marco 'solariz' Goetze
- [phpa] SHM Permissions
- From: Nick Lindridge
Other related posts:
- » [phpa] SHM Permissions
- » [phpa] Re: SHM Permissions
- » [phpa] Re: SHM Permissions
- » [phpa] Re: SHM Permissions
- [phpa] Re: Version 1.3 released for Linux
- From: Marco 'solariz' Goetze
- [phpa] SHM Permissions
- From: Nick Lindridge