OK - so here is the thing, and I don't know why

you need to compile apache without static mpms and then load mpm_prefork
in the config file

Build apache

./configure --enable-mpms-shared=all

http.conf:
#LoadModule macro_module modules/mod_macro.so
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
#LoadModule dbd_module modules/mod_dbd.so

Why?  I don't know.  I would love an explanation.

Ruben

On 1/6/20 10:06 PM, Jim Tappe wrote:
> Ok, thanks for the clarification.
> 
> On Mon, Jan 6, 2020 at 6:43 PM Ruben Safir <ru...@mrbrklyn.com> wrote:
> 
>>
>>
>> Right that is an old perl, and the problem is the new perl
>>
>> It is not that secure FWIW.
>>
>> We are up to 5.30+
>>
>> On Mon, Jan 06, 2020 at 06:36:07PM -0800, Jim Tappe wrote:
>>> [root@centos-s-2vcpu-4gb-sfo2-01 conf]# perl -v
>>>
>>> This is perl 5, version 16, subversion 3 (v5.16.3) built for
>>> x86_64-linux-thread-multi
>>> (with 39 registered patches, see perl -V for more detail)
>>>
>>> Copyright 1987-2012, Larry Wall
>>>
>>> Perl may be copied only under the terms of either the Artistic License or
>>> the
>>> GNU General Public License, which may be found in the Perl 5 source kit.
>>>
>>> Complete documentation for Perl, including FAQ lists, should be found on
>>> this system using "man perl" or "perldoc perl".  If you have access to
>> the
>>> Internet, point your browser at http://www.perl.org/, the Perl Home
>> Page.
>>>
>>> On Mon, Jan 6, 2020 at 6:20 PM Ruben Safir <ru...@mrbrklyn.com> wrote:
>>>
>>>> what version of perl
>>>>
>>>>
>>>> On Mon, Jan 06, 2020 at 03:53:41PM -0800, Jim Tappe wrote:
>>>>> Well, I compiled Empberl along with apache and mod perl source as
>>>> follows.
>>>>>
>>>>> cd \tmp\Embperl-2.5.0_4
>>>>> perl Makefile.PL
>>>>> Found mod_perl 2.0
>>>>> Build with support for Apache mod_perl?(y/n) [y]y
>>>>> Use /usr/include/httpd as Apache source(y/n) [y]y
>>>>>
>>>>> make
>>>>> make install
>>>>>
>>>>> Software versions.
>>>>> Embperl-2.5.0_4
>>>>> Apache/2.4.6 (CentOS)
>>>>> mod_perl-2.0.11
>>>>>
>>>>> It's compiling and apache starts.  That's as far as I am.
>>>>>
>>>>> On Mon, Jan 6, 2020 at 3:26 PM Ruben Safir <ru...@mrbrklyn.com>
>> wrote:
>>>>>
>>>>>> On Sun, Jan 05, 2020 at 05:55:45PM -0800, Jim Tappe wrote:
>>>>>>> Thanks.  I recompiled again with apache and mod_perl source and
>>>> apache is
>>>>>>> starting now.  :)   I must have messed up when I did the last
>>>> compile.
>>>>>>>
>>>>>>> On Thu, Jan 2, 2020 at 9:26 PM Jim Tappe <jta...@gmail.com>
>> wrote:
>>>>>>
>>>>>>
>>>>>> Honestly, I have no idea what your are talking about or what you
>> did at
>>>>>> this point.
>>>>>>
>>>>>> Without help, it doesn't compile out of the box
>>>>>>
>>>>>> I'm glad it is working for you
>>>>>>
>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I checked the Embperl README file and it seems Embperl has not
>>>> been yet
>>>>>>>> tested against Apache 2.4.
>>>>>>>>
>>>>>>>> I have been trying to get it to work with Apache 2.4 and got it
>>>>>> compiled
>>>>>>>> but am still getting this error in the Apache log.
>>>>>>>>
>>>>>>>> httpd: Syntax error on line 207 of /etc/httpd/conf/httpd.conf:
>>>> Can't
>>>>>>>> locate API module structure `embperl_module' in file
>>>>>>>> /etc/httpd/modules/Embperl.so: /etc/httpd/modules/Embperl.so:
>>>>>>>>
>>>>>>>> Does anyone have Embperl working with Apache 2.4?
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Jim
>>>>>>>>
>>>>>>
>>>>>> --
>>>>>> So many immigrant groups have swept through our town
>>>>>> that Brooklyn, like Atlantis, reaches mythological
>>>>>> proportions in the mind of the world - RI Safir 1998
>>>>>> http://www.mrbrklyn.com
>>>>>>
>>>>>> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
>>>>>> http://www.nylxs.com - Leadership Development in Free Software
>>>>>> http://www2.mrbrklyn.com/resources - Unpublished Archive
>>>>>> http://www.coinhangout.com - coins!
>>>>>> http://www.brooklyn-living.com
>>>>>>
>>>>>> Being so tracked is for FARM ANIMALS and extermination camps,
>>>>>> but incompatible with living as a free human being. -RI Safir 2013
>>>>>>
>>>>>>
>>>>
>>>> --
>>>> So many immigrant groups have swept through our town
>>>> that Brooklyn, like Atlantis, reaches mythological
>>>> proportions in the mind of the world - RI Safir 1998
>>>> http://www.mrbrklyn.com
>>>>
>>>> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
>>>> http://www.nylxs.com - Leadership Development in Free Software
>>>> http://www2.mrbrklyn.com/resources - Unpublished Archive
>>>> http://www.coinhangout.com - coins!
>>>> http://www.brooklyn-living.com
>>>>
>>>> Being so tracked is for FARM ANIMALS and extermination camps,
>>>> but incompatible with living as a free human being. -RI Safir 2013
>>>>
>>>>
>>
>> --
>> So many immigrant groups have swept through our town
>> that Brooklyn, like Atlantis, reaches mythological
>> proportions in the mind of the world - RI Safir 1998
>> http://www.mrbrklyn.com
>>
>> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
>> http://www.nylxs.com - Leadership Development in Free Software
>> http://www2.mrbrklyn.com/resources - Unpublished Archive
>> http://www.coinhangout.com - coins!
>> http://www.brooklyn-living.com
>>
>> Being so tracked is for FARM ANIMALS and extermination camps,
>> but incompatible with living as a free human being. -RI Safir 2013
>>
>>
> 


-- 
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

http://www.nylxs.com - Leadership Development in Free Software
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscr...@perl.apache.org
For additional commands, e-mail: embperl-h...@perl.apache.org

Reply via email to