Marcello wrote:
Octavian Rasnita ha scritto:

Hi,

Is it possible to let modperl recompile the modules if they are modified?
I've seen that if I modify a perl module, Apache doesn't check to cee if the
module has been modified, so it keeps running the old code from memory.

In your httpd.conf or under <IfModule mod_perl.c> section in commonhttpd.conf:

PerlModule Apache::StatINC
PerlInitHandler Apache::StatINC

$> perldoc Apache::Reload or http://perl.apache.org/docs/2.0/api/Apache/Reload.html

Apache::StatINC is _seriously_ deprecated, use Apache::Reload instead.
 http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__StatINC_

--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to