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.

Easy Apache 3 fubarred!!!

Discussion in 'EasyApache' started by BianchiDude, Feb 28, 2008.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Easy Apache 3 fubarred!!!

    I just ran upcp and am trying to upgrade php using the new EA3 but it stops after a few seconds and yields this error:
    Curses function 'initscr' is not defined by your vendor at /usr/lib/perl5/site_perl/5.8.8/Curses/UI.pm line 217.

    I never gets to the menus or anything.

    How can I fix this?

    :confused::confused::confused::confused::confused::confused:
     
  2. psrsathish

    psrsathish Active Member

    Joined:
    Jul 19, 2006
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India.
    Hi,

    First upgrade the perl to the latest version and then upgrade the php, The latest version of Perl is 5.10.0

    Follow the below steps to upgrade the perl.


    Run:

    perl -v

    If you see anything like:

    This is perl, v5.8.7 built for i686-linux

    then you need to upgrade.

    Upgrading is simple but I have seen a few problems in the past this is why I decided to give you the steps.

    1. Download the cPanel perl installer

    wget http://layer1.cpanel.net/perl588installer.tar.gz


    2. Extract the archive

    tar zxvf perl588installer.tar.gz


    3. Run the installer

    cd perl588installer
    ./install


    4. Check perl modules

    /scripts/checkperlmodules


    5. Force a cPanel update

    /scripts/upcp –force


    6. Update perl information in user’s cPanel

    rm -rf /home/*/.cpanel;rm -rf /home/*/.cpanel-datastore


    7. Check the actual new perl version

    perl -v

    This should now output something like:
    This is perl, v5.8.8 built for i686-linux


    That's It.

    Then upgrade the php via EA
     
  3. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Thanks, but I was already running perl 5.8.8
     
  4. ToddShipway

    ToddShipway Well-Known Member

    Joined:
    Nov 13, 2006
    Messages:
    300
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, TX


    Run the command below and it should resolve this error.

    Code:
    /scripts/perlinstaller --force Curses
     
  5. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Thanks, worked.
     
  6. rpmws

    rpmws Well-Known Member

    Joined:
    Aug 14, 2001
    Messages:
    1,824
    Likes Received:
    5
    Trophy Points:
    38
    Location:
    back woods of NC, USA

    it would have run in WHM i think .. the SSH version depends on Curses
     
Loading...

Share This Page