Calm has asked for the wisdom of the Perl Monks concerning the following question:
1) Is there an easier way to clear out the webserver memory than stopping/restarting?
2) Is this the standard development cycle (make code change, stop webserver, restart webserver, test code change, repeat)?
3) Any suggestions for improving the way I’m doing this?
Thanks for your input.
Edit:
System info:
xampp v1.6.0a
Perl version: v5.8.8 built for MSWin32-x86-Multi-Thread (ActivePerl)
Web server: Apache
Update:
I've added the following lines to my httpd.conf:
PerlInitHandler Apache2::Reload PerlSetVar ReloadModules "Planning::*"
Now the module seems to reload, but only when I change the calling script in addition to the module. I.e., I can change the module and rerun the calling script and nothing changes, but if I change the calling script and the module, then the module will get reloaded. Is this the intended functionality or am I doing something wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Module updates require webserver restart?
by zer (Deacon) on May 02, 2007 at 18:10 UTC | |
by Calm (Acolyte) on May 02, 2007 at 19:36 UTC | |
|
Re: Module updates require webserver restart?
by Fletch (Bishop) on May 02, 2007 at 16:27 UTC | |
by Calm (Acolyte) on May 02, 2007 at 16:40 UTC | |
by Anonymous Monk on May 02, 2007 at 17:33 UTC | |
|
Re: Module updates require webserver restart?
by shmem (Chancellor) on May 02, 2007 at 18:10 UTC | |
|
Re: Module updates require webserver restart?
by scorpio17 (Canon) on May 02, 2007 at 19:31 UTC | |
by zer (Deacon) on May 03, 2007 at 17:36 UTC |