PHP 7 does not support anymore Mycrypt. Though Opencart 2.0 stil needs it to be installed. Can someone please guide me on how to install on Xampp (localhost) Mycrypt?
I downloaded Mycrypt which is a tar.gz file… and now what?
Thanks!
PHP 7 does not support anymore Mycrypt. Though Opencart 2.0 stil needs it to be installed. Can someone please guide me on how to install on Xampp (localhost) Mycrypt?
I downloaded Mycrypt which is a tar.gz file… and now what?
Thanks!
Depends on which OS you’re running. For example on Ubuntu you can run sudo apt-get install mcrypt php7.0-mcrypt
is there any tutorial for installation on win7 ?
If it is true that mcrypt has been abandoned for 10 years I have the feeling it would be better to not use it and make changes to opencart so that it uses something better. There are reasons it was deprecated and then removed. And security is not something to be taken lightly.
It may not work, but you could try unpacking it to the extensions folder and adding a line to the ini pointing to it.
The correct solution is to upgrade your OpenCart installation. It is free so there is no excuse not to.
I believe mcrypt
was removed in 7.1. I was still able to run it under 7.0 I believe. But the reason why most features gets removed is because they want you to use newer functions that are more safer.
No, that won’t work. Just checked all the extensions for 7.2.7, 5.6.36, and 5.3.9. They all don’t have the mcrypt
extension. I believe it’s actually built in. So that means that it’s best to upgrade the OpenCart
installation.
Though I have said that there’s no mcrypt
extension for Windows
, that doesn’t mean that there isn’t one for Linux
. Both operating systems are completely different and require completely different extensions, don’t get me wrong on this.
I just try to solve my problem which is to run a opencart template on 2.0 opencart machine !!! ant that on localghost. Upgrading is no option! excluding either because opencart wont upload. There is either A) install mcrypt on php 7+ or B) install older version of Xamp with PHP 5+ supporting mcrypt.
so I downloaded mcrypt… and just dont know how to install and where…
There is a pecl package.
https://pecl.php.net/package/mcrypt
But the last release was Dec 2016, so I think even if things could be banged into shape to get the older opencart to work with the newer PHP it would still be much better to upgrade opencart. Fighting to give life support to something that needs to be let go seems like a waste of time and effort to me.
What are you trying to do exactly? If you are trying to use OpenCart
on a localhost, then there is no excuse for not upgrading. If you are trying to make a localhost version and then upload it to a live server, there has to be an option to upload what you have done. If there isn’t, I would strongly suggest you switch hosters because that’s not a good deal for losing money.
or option C) install a localhost where you have more control over how you can configure the environment.
@spaceshiptrooper got the link to your tutorial handy?
Off-topic
No. I haven’t updated it since a few years ago. It’s a bit outdated so I’ll have to go back and change a few things. I also might just do a video tutorial (with no voice) instead of a text page. Seems to lag the page speed a bit with all those big images.
It is a opencart 2.0 Engine template from templatemonster… and I try it on xampp b4 uploading it. to install it on Xampp, I use a installation.php… and run it… it goes with the template… it has the opencart engine inside. So, when installing it… on Xampp, I get an error message and the installation cant continue because Mycrypt is missing…
So for the sake of a third party template you are going to toss security aside and jump through hoops to use it? If you paid for it, see if you can get your money back or see if the author has an updated version, or learn how to code and update it yourself.
Ok. Let’s get a base line started. What does the message say?
Or use something entirely different. I just took a look at the core files and my eyes are just opened wide.
Sha1 passwords??? Nooooooooooooooo!
Yup. That’s what OpenCart
apparently is using. And upon further searching for where escape
leads me, this is what I find.
Take note, this is on the newest version of OpenCart
(3.0.2.0).
when I bought the template, I asked what it would cost to update it before I buy it and they said 350$ …after that answer I loved the old version for 49$ lololo
This is the error, and it doesn’t let me continue with the installation…
I see a lot of answers and effort for this topic, and I would like really to thank you all for taking time to answer and help me, really nice guys !!! THANKS!
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.