PHP APC 和 Imagick 与 cpanel

发布于 2024-07-16 09:42:16 字数 214 浏览 1 评论 0原文

我目前购买了 iWeb 托管的专用服务器并由他们管理。

我最近要求在注册后将 php_apcphp_imagick 添加到可用库中。 他们认为这是不可能的,因为 cPanel 不支持它。

我显然需要自己这样做......安装这两个库有什么风险吗? 如果有的话会引发什么样的问题? 万一我必须自己调试这个。

I currently purchased a dedicated server hosted at iWeb and got it administered by them.

I recently asked after registration to add php_apc and php_imagick to the available libraries. It seems according to them that it is not possible as it is not supported with cPanel.

I would apparently need to do that myself... is there any risks to install those two libraries ? What kind of problem could it raise if there is any ? In case I would have to debug this myself.

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

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

发布评论

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

评论(1

明月松间行 2024-07-23 09:42:17

将 Imagemagick 安装到您的系统本身不会有太大问题。

然而,向 PHP 添加对它和 APC 的支持可能是一个棘手的过程; 对您来说,最好不再使用 cPanel 提供的 PHP 并自行安装 PHP,它将进入 /usr/local,并自行运行配置脚本,编译您需要的任何扩展。 这意味着您需要自己使 PHP 保持最新状态,但这也意味着您在下次 cPanel 升级时不会擦除所有对它的自定义设置。

如果有更好的建议我也很想听听。

Installing Imagemagick to your system in itself won't be too much of a problem.

However, adding support for it and APC to PHP may be a tricky procedure; it may be best for you to just no longer use the PHP provided by cPanel and install PHP yourself, which will go into /usr/local, and run the configure script for it yourself, compiling in whatever extensions you need. It'll mean that you'll need to keep PHP up to date yourself, but it'll also mean that you won't have all your customisations to it wiped the next time cPanel upgrades it.

If there are better suggestions I'd also be interested to hear them.

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