I want to see server-status just like apache 2.2

maiijarb

Verified User
Joined
Nov 8, 2006
Messages
65
Hello,

I want to see server-status just like apache 2.2 (2.4 have alot NULL, OPTIONS * HTTP/1.0 line)

Apache Server Status
Server Version: Apache/2.4.16 (Unix) OpenSSL/0.9.8e-fips-rhel5 PHP/5.3.29
Server MPM: prefork

I try to change Server MPM: prefork to worker but get error

option.conf
php1_release=5.3
php1_mode=mod_php
php2_release=5.5
php2_mode=php-fpm
apache_ver=2.4
apache_mpm=worker (Not sure this value is valid)

After
./build update
./build apache

Starting httpd: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed

Try to continue
./build php n
./build rewrite_confs

Starting httpd: Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed

Please advise. thank you
 
Server-status is declared in /etc/httpd/conf/extra/httpd-info.conf.

You can change settings in there and restart httpd and you have access to server-status.
Unless you mean something else with server-status.

For apache with mpm I don't know. It's set to auto in my options.conf. You could try it since you are using mod_php in php1.
 
Back
Top