将 mcrypt 添加到 Plesk

发布于 2024-09-08 02:20:07 字数 145 浏览 1 评论 0原文

我正在运行 Plesk v8.2.0,并且有一个需要安装 mcrypt 模块的程序,但我找不到任何有关如何在 Plesk 上进行 mcrypt 设置的相关信息。它位于基于 Unix 的服务器上。

有人对如何设置有任何想法吗?

任何信息将不胜感激

I am running Plesk v8.2.0 and I have a program that needs mcrypt module installed but I cant find any relevent infromation on how to get mcrypt setup on Plesk. It is on a Unix based server.

Does anyone have any ideas on how to set this up?

Any infromation would be greatly appreciated

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

岁月静好 2024-09-15 02:20:07

从命令行,执行类似...

yum install php-mcrypt.x86_64

如果这不起作用,那么也许可以...

yum search "mcrypt"

.. 找到您想要的文件的确切名称安装。

From command line, do something like...

yum install php-mcrypt.x86_64

If that doesn't work, then maybe do...

yum search "mcrypt"

.. to find the exact name of the file you want to install.

得不到的就毁灭 2024-09-15 02:20:07

这取决于操作系统。我认为 Plesk 没有 mcrypt 的模块或即插即用解决方案。

您可能会在 serverfault 中找到更多答案。

https://serverfault.com/questions/60787/howto- make-mcrypt-and-php-work-together-on-centos

It depends on the OS. I don't think Plesk has a module or a drop-in solution for mcrypt.

You might find more answers at serverfault.

https://serverfault.com/questions/60787/howto-make-mcrypt-and-php-work-together-on-centos

山人契 2024-09-15 02:20:07

Mcrypt 是一个 PHP 模块,通常您可以以某种包格式下载它。

在 RedHat、CentOS 或 Fedora 上,我建议使用 IUS 存储库。否则,您可以查找发行版和 php-mcrypt,并且可能有可用的软件包。如果没有,您始终可以从源代码编译它: http://www.php .net/manual/en/mcrypt.installation.php

如果您确实从源代码编译它,请务必将 php 设置在跳过列表(基于 RPM 的发行版)上,这样它就不会自动更新,否则会破坏它的功能,直到重新编译为止。

Mcrypt is a PHP module, and typically you can download this in some kind of package format.

On RedHat, CentOS, or Fedora, I would suggest using the IUS repository. Otherwise you can look for the distribution, and php-mcrypt and there is likely a package available for it. If not, you can always compile it from source: http://www.php.net/manual/en/mcrypt.installation.php

If you do compile it from source, be sure to set php on the skip list (RPM-based distribution) so that it is not updated automatically, as that will break it's functionality, until it is recompiled.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文