The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

perl modules in shared hosting server

Discussion in 'General Discussion' started by nitaish, Jan 19, 2012.

  1. nitaish

    nitaish Well-Known Member
    PartnerNOC

    Joined:
    Jan 6, 2006
    Messages:
    123
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Mulund, India, India
    One of my customers having shared hosting account with us in Cpanel server wants the following perl modules to be installed.

    Date-Calc-5.4
    File-Tail-0.99.3
    lzo-1.08
    Number-Format-1.52
    chartdir_perl_linux
    MIME::Lite
    MIME::Base64
    Authen::ASL
    LWP::UserAgent
    DBI-1.607
    CGI.pm-3.42
    CGI-Session-4.41
    File::Basename

    I just want to know if it is safe to install these modules in a shared hosting cpanel server?
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can install additional Perl modules on a cPanel server, beyond what cPanel requires. This works fine. There will not normally be any problem, unless you somehow install a module that is a different version from one that cPanel requires. This is very unusual, though, and if you install Perl modules using CPAN (which is what the function in the WebHost Manager does), you will not interfere with cPanel's operation.

    /scripts/checkperlmodules --full checks the installation and configuration of Perl modules that cPanel requires and will alert you to any problems. It does nothing with Perl modules that cPanel does not use.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    There would be no reason to install these modules on the entire server if you do not wish to do so. You could simply have the user add these in cPanel > Perl Modules area provided that option is enabled in your feature list for cPanel accounts. It appears under the "Software/Services" area of cPanel.

    This area would allow the user to install the perl modules only under their account rather than globally for the entire machine. It is possible that one or more of the modules might not be installable per account, but you could find that out after they attempt to install the modules they require first.

    If you haven't allowed cPanel accounts to use that area, you could always temporarily enable Install Perl Modules in WHM > Packages > Feature Manager for the feature list that the account is using, install the modules for them in cPanel > Perl Modules area, then remove the option again in their feature list.
     
Loading...

Share This Page