• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

mcrypt extension

V

vickibellamy

Guest
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
 
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
 
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 : )
 
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
 
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
 
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!
 
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?
 
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?
 
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
 
Back
Top