Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PHP + apache + mm problems AGAIN

0 views
Skip to first unread message

af af

unread,
Sep 10, 2002, 4:16:59 PM9/10/02
to
Hello,

this seems to be a common issue, but I get
PHP Fatal error: Unable to start session mm module in
Unknown on line 0
when I try to start apache with php4_module.

The usual recommendations,
1) remove /tmp/session_mm.sem or give access
permission to the user running php4,
2) increase the limit on shared memmory (echo
"33554432" > /proc/sys/kernel/shmmax).
are useless -- it's an Athlon x86 machine, so shmmax
is already 33554432, and /tmp/ is empty and
user writable as it should be.

Debian: testing (sid)
Kernel: both 2.4.18 & 2.4.19 but not a kernel issue as
far as I can see
Related packages:
# dpkg -l php* apache* | awk '/^ii/ { print $2 "\t" $3
}'
php4 4.1.2-4
php4-imap 4.1.2-4
php4-mysql 4.1.2-4
php4-pear 4.1.2-4
php4-pgsql 4.1.2-4
apache 1.3.26-1
apache-common 1.3.26-1

Any ideas?

Regards,
Skrjabin

__________________________________________________
Yahoo! - We Remember
9-11: A tribute to the more than 3,000 lives lost
http://dir.remember.yahoo.com/tribute


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org


Skrjabin

unread,
Sep 11, 2002, 8:12:30 AM9/11/02
to
> this seems to be a common issue, but I get
> PHP Fatal error: Unable to start session mm module
> in
> Unknown on line 0
> when I try to start apache with php4_module.
>
> The usual recommendations,
> 1) remove /tmp/session_mm.sem or give access
> permission to the user running php4,

Problem solved.
I straced apache and found out, that it needs rights
for the directory /tmp/php/ and for the file
session_mm_apache0.sem in it (probably a default
ini-setting somewhere, didn't care to find out that).

So, in order to solve the issue, you have to
# mkdir /tmp/php
# touch /tmp/php/session_mm_apache0.sem (redundant?)
# chown -R www-data. /tmp/php
# /etc/init.d/apache restart

0 new messages