SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a question.
A friend of mine has installed a fresh installation of Slackware 14.2.
At the moment I was busy installing Magento 2 on it but I got the message I was missing Mcrypt. So.. I installed it via this link https://slackware.pkgs.org/14.2/slac...lonly.txz.html
Package was installed restarted Apache but still it wasn't showing any mcrypt extension in phpinfo.
the mcrypt extension is already built-in in slackware 14.2's php via the provided libmcrypt package, you don't need an additional mcrypt one: just create an info.php file in your DocumentRoot, paste this content
Code:
<?php phpinfo(); ?>
and then load it in the browser (here I assume the address of the server is "localhost")
Code:
http://localhost/info.php
with the default /etc/php.ini you should see the mcrypt extension as enabled.
if you don't maybe you are missing some dependencies: is that a full installation of Slackware?
Yes, that's what I read on the internet too and that was my reason to install it.
The package has been installed but I don't see any Mcrypt values in php info.
if you really want it (read the first link above for why is not a good idea) you don't need mcrypt at all but libmcrypt already in Slackware and you can install via PECL with "pecl install mcrypt-1.0.2".
At the moment I'm developing a Magento 2.2.7 webshop and it still needs Mcrypt.
I will look into the libsodium ;-)
You might amaze yourself when it comes to Magento 2.3.x and it's predecessors.
Everytime they tell you bugs will be fixed or is so and so compatible it's not.
The reason because I still work with M2 is because I hope they can get a good enough version on the market we all can work with.
Up until now I'm not impressed with it. My background is M1, Wordpress and Joomla.
Thank you so much for looking into this.
I'll let you know if it works.
Btw, how can I uninstall the other Mcrypt package?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.