package Cpanel::Easy::Apache::MPMPrefork;

# cpanel - Cpanel/Easy/Apache/MPMPrefork.pm       Copyright(c) 2011 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

our $easyconfig = {
    'name'    => 'MPM Prefork',
    'url'     => 'http://httpd.apache.org/docs/[% apache_uri_version %]/mod/prefork.html',
    'note'    => '(recommended)',
    'implies' => {
        'Cpanel::Easy::ModQos' => 0,
    },
    'step' => {
        '0' => {
            'name'    => 'to config options',
            'command' => sub {
                my ($self) = @_;
                $self->replace_in_configure( { '--with-mpm' => 'prefork' } );
                return ( 1, 'Ok' );
            },
        },
    },
};

1;
