docs::api::Apache2::MPM - Online Linux Manual PageSection : 3
Updated : 2021-01-26
Source : perl v5.32.1
Note : User Contributed Perl Documentation

NAMEApache2::MPM − Perl API for accessing Apache MPM information

Synopsis​ use Apache2::MPM (); ​ ​ # check whether Apache MPM is threaded ​ if (Apache2::MPM−>is_threaded) { do_something() } ​ ​ # which mpm is used ​ my $mpm = lc Apache2::MPM−>show; ​ ​ # query mpm properties ​ use Apache2::Const −compile => qw(:mpmq); ​ if (Apache2::MPM−>query(Apache2::Const::MPMQ_STATIC)) { ... }

DescriptionApache2::MPM provides the Perl API for accessing Apache MPM information.

APIApache2::MPM provides the following functions and/or methods:

queryQuery various attributes of the MPM ​ my $query = Apache2::MPM−>query($const); obj: $class ( Apache2::MPM class ) the class name arg1: $const ( Apache2::Const :mpmq group constant ) The MPM attribute to query. ret: $query ( boolean ) the result of the query since: 2.0.00 For example to test whether the mpm is static: ​ use Apache2::Const −compile => qw(MPMQ_STATIC); ​ if (Apache2::MPM−>query(Apache2::Const::MPMQ_STATIC)) { ... }

is_threadedCheck whether the running Apache MPM is threaded. ​ my $is_threaded = Apache2::MPM−>is_threaded; obj: $class ( Apache2::MPM class ) the class name ret: $is_threaded ( boolean ) threaded or not since: 2.0.00 Note that this functionality is just a shortcut for: ​ use Apache2::Const −compile => qw(MPMQ_IS_THREADED); ​ my $is_threaded = Apache2::MPM−>query(Apache2::Const::MPMQ_IS_THREADED);

showWhat mpm is used ​ my $mpm = Apache2::MPM−>show(); obj: $class ( Apache2::MPM class ) the class name ret: $mpm ( string ) the name of the MPM. e.g., Prefork. since: 2.0.00 

See Alsomod_perl 2.0 documentation.

Copyrightmod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.

AuthorsThe mod_perl development team and numerous contributors.
0
Johanes Gumabo
Data Size   :   11,772 byte
man-Apache2::MPM.3pmBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 171,396
Visitor ID   :     :  
Visitor IP   :   3.129.73.6   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|Apache2::MPM.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|Apache2::MPM.3pm|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|249|Apache2::MPM.3pm|43|br══─}─══|'br══─}─══ )         (htmlprn|149|Apache2::MPM.3pm|43|'br══─}─══ |'br══─}─══ )