mpm perchild mod_php4
| From: | Jochen Kächelin | Date: | Sun, 08 Dec 2002 21:18:41 +0000 |
| Subject: | mpm perchild mod_php4 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127456@lists.php.net to get a copy of this message | ||
I ask this list now because nobody could answer my question on the apache list.
I installed Apache 2.0.43 --with-mpm=perchild in order to get more
security in executing php-scripts. I know that perchild is
experimental but I couldn't run it at all. We will make some tests -
without success.
When I try to connect with http://192.168.0.1
I will get no answers (browser ist loading, loading, loading....
httpd.conf:
Listen 80
ServerAdmin jk@linux.amsjk.de
ServerName 192.168.0.1:80
NameVirtualHost 192.168.0.1
Include /etc/apache/virtual.conf
virtual.conf:
<VirtualHost 192.168.0.1>
Servername 192.168.0.1
ServerAdmin jk@linux.amsjk.de
DocumentRoot /www
# AssignUserid nobody nobody
ChildPerUserId jochen jochen 2
</VirtualHost>
What should I insert into AssignUserId?
Apache ist running as
user: nobody
group: nobody.
ps aux:
root 20015 0.0 1.5 3600 2024 ? S 16:01 0:00 /usr/local/apache2/bin/httpd -k start
nobody 20016 0.0 1.5 3536 1964 ? S 16:01 0:00 /usr/local/apache2/bin/httpd -k start
nobody 23779 0.0 1.7 13916 2160 ? S 16:05 0:00 /usr/local/apache2/bin/httpd -k start
nobody 23781 0.0 1.7 13916 2160 ? S 16:05 0:00 /usr/local/apache2/bin/httpd -k start
nobody 23788 0.0 0.0 0 0 ? Z 16:05 0:00 [httpd <defunct>]
nobody 23789 0.0 1.7 13916 2160 ? S 16:05 0:00 /usr/local/apache2/bin/httpd -k start
nobody 23790 0.0 1.7 13916 2160 ? S 16:05 0:00 /usr/local/apache2/bin/httpd -k start
nobody 23791 0.0 0.0 0 0 ? Z 16:05 0:00 [httpd <defunct>]
jochen 24161 0.0 0.0 0 0 ? Z 16:05 0:00 [httpd <defunct>]
nobody 24162 0.0 0.0 0 0 ? Z 16:05 0:00 [httpd <defunct>]
error_log:
[Sun Dec 08 16:03:03 2002] [notice] child pid 21526 exit signal Segmentation fault (11)
[Sun Dec 08 16:03:03 2002] [notice] child pid 21524 exit signal Segmentation fault (11)
[Sun Dec 08 16:03:03 2002] [emerg] (13)Permission denied: apr_proc_mutex_lock failed. Attempting to
shutdown process
gracefully.
[Sun Dec 08 16:03:03 2002] [emerg] (13)Permission denied: apr_proc_mutex_unlock failed. Attempting
to shutdown process
gracefully.
[Sun Dec 08 16:03:03 2002] [emerg] (13)Permission denied: apr_proc_mutex_lock failed. Attempting to
shutdown process
gracefully.
[Sun Dec 08 16:03:03 2002] [emerg] (13)Permission denied: apr_proc_mutex_unlock failed. Attempting
to shutdown process
gracefully.
--
Jochen Kaechelin