[phpa] Re: PHPA on Cobalt RAQ - apache processes "defunct" on restart

Alain,

pls. check which user apache runs under, within the apache config file: 
httpd.conf
# to find it:
locate httpd.conf

there you should find something like:
# Who runs the server?
User apache
Group apache

now this is the user/group apache runs under, and you'll have to set PHPA 
to run under the same user/group
which would, in the above example translate into:

phpa.shm_user = "apache"
phpa.shm_group = "nobody"

hth - regards Georg


At 22:39 09.07.2002, Alain Fontaine wrote:

>Hello !
>
>Using php.ini like so on my Cobalt RAQ 4i, PHP 4.2.1 :
>
>zend_extension="/home/sites/home/users/admin/download/php_accelerator-1.3.1p
>re3_
>php-4.2.1_linux-glibc2.1.3/php_accelerator_1.3.1pre3.so"
>
>phpa.shm_user = "nobody"
>phpa.shm_group = "nobody"
>
>
>Whenever I restart apache, the processes go "defunct". A stop and then a
>start does work, though. When the apache processes die, I need to reboot the
>server as I can't get rid of these processes using kill, either.
>
>Ideas? ;)
>
>Thanks!
>
>------------------------------------------------------------------------
>   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


------------------------------------------------------------------------
  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


Other related posts: