richardforth / apache2buddy

apache2buddy
Apache License 2.0
386 stars 72 forks source link

Support for SLES 12 with worker MPM #413

Closed jhaeringk1 closed 11 months ago

jhaeringk1 commented 11 months ago

For Support for SLES 12/15 with worker MPM you have to add thes httpd-worker and /usr/sbin/httpd-worker to the following lines, because SLES 12/15 uses an "-" instead of an ".".


### Line 1786
my @process_info = split(' ', `ps -C 'httpd httpd.worker httpd-worker apache apache2 /usr/sbin/httpd /usr/sbin/httpd.worker /usr/sbin/httpd-worker' -f | grep '^root'`);

### Line 1835
my @process_info = split(' ', `ps -C 'httpd httpd.worker httpd-worker apache apache2 /usr/sbin/httpd /usr/sbin/httpd.worker /usr/sbin/httpd-worker' -f | grep '^root'`);
richardforth commented 11 months ago

Hi, apache2buddy was only ever written to support prefork mode, for work mode, all the php offloading is done by fastcgi and php-fpm, which is out of scope. Try php-fpmpal which was designed to work with php-fpm