Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: mod_perl sharing modules with other accounts when I don't want it to

by wazoox (Prior)
on Mar 20, 2019 at 15:24 UTC ( #1231497=note: print w/replies, xml ) Need Help??


in reply to Re^2: mod_perl sharing modules with other accounts when I don't want it to
in thread mod_perl sharing modules with other accounts when I don't want it to

The perl interpreter options only apply at the vhost level. As the default is "always share", I'm pretty sure you must set these options for all vhosts, too.

  • Comment on Re^3: mod_perl sharing modules with other accounts when I don't want it to

Replies are listed 'Best First'.
Re^4: mod_perl sharing modules with other accounts when I don't want it to
by ultranerds (Hermit) on Mar 20, 2019 at 15:58 UTC
    Thanks - I'm pretty sure I have done that already, unless I'm missing something?

    site1: http://pastebin.com/1R2xeaxh
    site2: http://pastebin.com/LxXcsyxp

    I've made sure mod_perl isn't enabled for any of the other sites on the server, so it should just be these 2 using it.

    Thanks

    Andy
      I think I have it :) This seems to work in the <VirtualHost>

      PerlOptions +Parent PerlInterpStart 2 PerlInterpMax 2 PerlSwitches -Mlib=/home/steampunkcom/web/uk.domain.com/lib PerlRequire /home/steampunkcom/web/uk.domain.com/startup.pl # my scri +pt to auto load modules


      It seems that I also needed a server reboot (maybe it got stuck with one of the previous settings when I was testing it). So far my tests have been good :)

      Thanks for you help!

        The server reboot was probably overkill, but I already had the problem of apache processes getting stuck and "systemctl restart apache2" not working :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1231497]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2021-09-25 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?