Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Can't locate loadable object for module Apache::Constants in @INC

by derby (Abbot)
on Jul 15, 2013 at 17:28 UTC ( #1044425=note: print w/replies, xml ) Need Help??


in reply to Can't locate loadable object for module Apache::Constants in @INC

Going from apache/mod_perl 1.x to apache2/mod_perl 2.x is no small endeavor and you need to do a lot more than change a few config options. All those Apache::Reload, Apache::ErrorReports, Apache::DBI, Apache::Sig and any Apache::XXX modules your homegrown ModPerl::XX modules use will need to be changed. Take half-a-day and read the porting guide.

-derby
  • Comment on Re: Can't locate loadable object for module Apache::Constants in @INC

Replies are listed 'Best First'.
Re^2: Can't locate loadable object for module Apache::Constants in @INC ( Apache2::compat )
by Anonymous Monk on Jul 15, 2013 at 23:22 UTC
    Great guide, first thing it says is to load Apache2::compat at startup and everything should work if it was done properly in mod_perl1x :)transition
Re^2: Can't locate loadable object for module Apache::Constants in @INC
by shan_emails (Beadle) on Jul 16, 2013 at 13:59 UTC

    Hi All,

    Thanks for your helps, now i can able to start the apache. But while accessing the page it says 500 internal error. And the error log says that (Can't locate object method "is_main" in the perl module Apache::SIG). Shall i know how to resolve this.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2022-05-16 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (62 votes). Check out past polls.

    Notices?