Support PHP 7 and 8 git-svn-id: https://svn.apache.org/repos/asf/perl/Apache-Test/trunk@1919389 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/Apache/Test.pm b/lib/Apache/Test.pm index b18de11..4cab7e1 100644 --- a/lib/Apache/Test.pm +++ b/lib/Apache/Test.pm
@@ -427,7 +427,7 @@ sub need_php { - return _need_multi(qw(php4 php5 sapi_apache2.c)); + return _need_multi(qw(php4 php5 php7 php sapi_apache2.c)); } sub need_php4 {
diff --git a/lib/Apache/TestConfig.pm b/lib/Apache/TestConfig.pm index 274f1a0..8a9ff5d 100644 --- a/lib/Apache/TestConfig.pm +++ b/lib/Apache/TestConfig.pm
@@ -437,7 +437,7 @@ $self->default_module(ssl => [qw(mod_ssl)]); $self->default_module(access => [qw(mod_access mod_authz_host)]); $self->default_module(auth => [qw(mod_auth mod_auth_basic)]); - $self->default_module(php => [qw(sapi_apache2 mod_php4 mod_php5)]); + $self->default_module(php => [qw(sapi_apache2 mod_php4 mod_php5 mod_php7 mod_php)]); $self->{server}->post_config;