Apache 2.4.50

Hi,

after compiling apache 2.4.50 on Haiku Hrev 55507 x_84_64 (same error with apache 2.4.41), i can’t start httpd or apachectl.

apachectl -f /boot/system/packages/administrative/writable-files/apache-2.4.50-1/settings/apache/httpd.conf

i get following error:

[Wed Oct 13 22:13:27.015680 2021] [core:emerg] [pid 1803:tid 1736164929792] (70023) This function has not been implemented on this platform: AH00023: Couldn’t create the mpm-accept mutex (70023) This function has not been implemented on this platform: could not create accept mutex
AH00015: Unable to open logs.

I think the problem is AH00023: Couldn’t create the mpm-accept mutex
(70023)This function has not been implemented on this platform: could not create accept mutex.

My questions is, how to solve this issue?

grep for where that message is in the source, there will presumably be a ifdef of some description that doesn’t include Haiku. There may be a portable implementation that works and just needs Haiku added to it.

The issue has been fixed. Please update from haikuports.

1 Like

Yes, after an update it is working.

Today i want to configure apache with php7. It is not so easy.

Can one help?

Tried some tutorial like Use php 7 with apache in Arch Linux - Kcode ?

Ah it seems php7 needs to be built with apache support. (Php-apache subpackage).