in reply to Re: apache + modperl problem
in thread apache + modperl problem

Hi, Thankyou for your prompt reply. I tried modifying my script until the error was not there. Ive realised when i put "use Template" i get the error and apache crashes. When i don't put it, it works fine. How do i fix it cause i need template toolkit for my work. On my server, template toolkit is working fine. Thank you, Anant

Replies are listed 'Best First'.
Re^3: apache + modperl problem
by jdrago_999 (Hermit) on Aug 18, 2008 at 16:15 UTC
    Sometimes the mod_perl.so Apache module doesn't like some other compiled C Perl modules (like Template or parts of DBI).

    Your best bet is to re-install Template from source. If CPAN tells you that "Template is up to date" just download it manually via wget and unzip/install by hand. That should take care of the problem.
      Did this problem get solved? I am experiencing *exactly* the same problem with exactly the same versions of Perl/Apache/mod-perl. I've tried uninstalling & reinstalling everything but the problem persists.

        Did you try the simple test listed above? Does it still "not work?"

        Are you getting error messages? What are they?

        Can you post some code?