Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AH00136: Server MUST relinquish startup privileges before accepting connections. Please ensure mod_unixd or other system security module is loaded

Can't start httpd Apache/2.4.29 (Unix) on macOS Sierra 10.12.6. httpd and apache are installed with brew.

in /var/log/apache2/error_log I always see:

AH00136: Server MUST relinquish startup privileges before accepting connections.  Please ensure mod_unixd or other system security module is loaded.
AH00016: Configuration Failed

Can somebody help me what is wrong?

like image 825
Pavel Hájek Avatar asked Nov 18 '22 19:11

Pavel Hájek


1 Answers

In the php.ini you have to place or un-comment the line:

LoadModule unixd_module lib/httpd/modules/mod_unixd.so

This is a required shared object file for Unix-family platforms. Then restart apache:

brew services restart httpd
like image 63
Constant Avatar answered Apr 26 '23 10:04

Constant