1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

mcrypt extension

Discussion in 'Plesk for Linux - 8.x and Older' started by vickibellamy, Dec 19, 2009.

  1. vickibellamy

    vickibellamy Guest

    0
     
    Hi there,

    I am trying to install Magento opensource shopping cart, without success as error message displays:

    PHP Extension "mcrypt" must be loaded

    Please can someone help me or at least point in the right direction as to how to enable this extension.

    Thank you
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    If you are on rhel, centos, or fedora, php-mcrypt is available from the atomic repo. You can install it with:

    1) set up the repo
    wget -q -O - http://www.atomicorp.com/installers/atomic |sh

    2) install php-mcrypt
    yum install php-mcrypt
     
  3. vickibellamy

    vickibellamy Guest

    0
     
    Thank you for this yet I am a novice at this, any chance for an explanation in simpler terms.

    I currently access the control panel via web log in.

    Do I need to log in to Virtuozzo and go to file manager.

    Any further help will be greatly appreciated, as Im very keen to learn and get magento up and running.

    Thanks
     
  4. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Step 0) would be to ssh into the box as root, and then run Steps 1 and 2
     
  5. vickibellamy

    vickibellamy Guest

    0
     
    I have logged into the ssh connection successfully yet not sure how I go about installation? do I copy the text from http://www.atomicorp.com/installers/atomic into the terminal window then press enter? thank you for your patience, I am determined to install this yet don't want to mess anything up in the process : )
     
  6. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
  7. DanielJCooper

    DanielJCooper Guest

    0
     
    Hi. I have installed Atomicorp but I don't have YUM installed on my VPS is there any way I can install the mcrypt extension without YUM?

    Thanks in advance
     
  8. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    The atomic installer should fix that for you if yum was removed from the system.
     
  9. DanielJCooper

    DanielJCooper Guest

    0
     
    Hi thanks for you help Yum doesnt seem to be working still below is my output

    [root@vvps-086504 ~]# wget -q -O - http://www.atomicorp.com/installers/atomic |sh

    Atomic Archive installer, version 1.2
    Configuring the [atomic] yum archive for this system

    Installing the Atomic GPG key: OK
    Yum was not detected. Attempting to resolve..

    warning: m2crypto-0.16-6.el5.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
    warning: package rpm-python = 4.4.2-37.el5 was already added, replacing with rpm-python >= 4.4.2-47.el5
    error: Failed dependencies:
    libbeecrypt.so.6()(64bit) is needed by rpm-python-4.4.2-47.el5.x86_64
    rpm = 4.4.2-47.el5 is needed by rpm-python-4.4.2-47.el5.x86_64
    Downloading atomic-release-1.0-12.el5.art.noarch.rpm: OK



    The Atomic Rocket Turtle archive has now been installed and configured for your system
    The following channels are available:
    atomic - [ACTIVATED] - contains the stable tree of ART packages
    atomic-testing - [DISABLED] - contains the testing tree of ART packages
    atomic-bleeding - [DISABLED] - contains the development tree of ART packages


    [root@vvps-086504 ~]# yum install php-mcrypt
    -bash: yum: command not found
    [root@vvps-086504 ~]#


    thanks again
     
  10. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    You'll probably have to ask whoever removed yum on the box to fix it. They've done something there that even the atomic installer can't fix!
     
  11. lvalics

    lvalics Silver Pleskian Plesk Guru

    36
    43%
    Joined:
    Jun 20, 2003
    Messages:
    965
    Likes Received:
    32
    Location:
    Romania
    Probably is VPS and usually some hoster skip to install yum.
     
  12. ariwana

    ariwana Guest

    0
     
    Dear Atomicturtle,

    I tried your method: I ssh'ed using putty as root Then pasted the commands.

    the second command ends with : Installed:
    php-common.i386 0:5.3.10-5.el5.art php-mcrypt.i386 0:5.3.10-5.el5.art

    Replaced:
    php53-common.i386 0:5.3.3-1.el5_6.1

    Complete!

    and then i tried to install magento but still it said :" PHP Extension "mcrypt" must be loaded"

    Could you please help me out?
     
  13. MarkcRobinson

    MarkcRobinson New Pleskian

    16
    60%
    Joined:
    Aug 13, 2010
    Messages:
    10
    Likes Received:
    0
    I followed these instructions and received this:

    The Atomic Rocket Turtle archive has now been installed and configured for your system
    The following channels are available:
    atomic - [ACTIVATED] - contains the stable tree of ART packages
    atomic-testing - [DISABLED] - contains the testing tree of ART packages
    atomic-bleeding - [DISABLED] - contains the development tree of ART packages


    [root@host ~]# yum install php-mcrypt
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
    * base: mirror.fdcservers.net
    * extras: yum.singlehop.com
    * updates: centos.mirrors.tds.net
    base | 1.1 kB 00:00
    extras | 2.1 kB 00:00
    mod-pagespeed | 951 B 00:00
    updates | 1.9 kB 00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package php-mcrypt available.
    Nothing to do



    Did this work?
     
  14. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    NO, it looks like your yum didnt check Atomic.

    Check /etc/yum.repos.d/atomic.repo and make sure that enabled = 1 is set.

    It should look something like this
    Code:
    # cat /etc/yum.repos.d/atomic.repo
    
    # Name: Atomic Rocket Turtle RPM Repository for CentOS / Red Hat Enterprise Linux 5 -
    # URL: http://www.atomicrocketturtle.com/
    [atomic]
    name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com
    mirrorlist = http://www.atomicorp.com/mirrorlist/atomic/centos-5-$basearch
    #mirrorlist = http://www.atomicorp.com/channels/atomic/centos/5/mirrors-atomic
    enabled = 1
    priority = 1
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
    gpgcheck = 1
    
    # Almost Stable, release candidates for [atomic]
    [atomic-testing]
    name = CentOS / Red Hat Enterprise Linux $releasever - atomicrocketturtle.com - (Testing)
    mirrorlist = http://www.atomicorp.com/mirrorlist/atomic-testing/centos-5-$basearch
    enabled = 0
    priority = 1
    protect = 0
    gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY.art.txt
    gpgcheck = 1
    
    
     
Loading...