|Don't ask to ask, just ask|
FastCGI - updating settingsby DreamT (Pilgrim)
|on Mar 04, 2010 at 08:29 UTC||Need Help??|
DreamT has asked for the
wisdom of the Perl Monks concerning the following question:
(I couldn't come up with a better thread title...)
I run a script using Perl and FastCGI (main.fcgi) . This script includes another scipt that holds settings (variables)for the main script (settings.pl).
There also is a third script, an administration program that alters settings in settings.pl.
If main.fcgi hadn't been a fcgi-script, the altered settings in settings.pl had been used immediately. But, as it is now I have to restart Apache for the changes to take effect.
Is there a way to get around this? I.e. can i include settings.pl in main.fcgi in a way that makes the changes take effect immediately?
I know that I can inlude in the
, but it (also) has to be included before this, since it holds settings that is to be used before this code piece is executed.