Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by ultranerds (Hermit)
on Mar 20, 2019 at 16:22 UTC ( #1231501=note: print w/replies, xml ) Need Help??


in reply to Re^4: 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

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!
  • Comment on Re^5: mod_perl sharing modules with other accounts when I don't want it to
  • Download Code

Replies are listed 'Best First'.
Re^6: mod_perl sharing modules with other accounts when I don't want it to
by wazoox (Prior) on Mar 20, 2019 at 18:19 UTC

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

      Yeah I've had it a few times. "restart" and "reload" were not always doing a full restart (or so it seemed)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2021-10-17 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (71 votes). Check out past polls.

    Notices?