简体   繁体   English

我如何启用 php fileinfo 扩展

[英]how do i enable php fileinfo extension

I'm trying to install a script and it gives me this error: "Fileinfo PHP Extension Is Required This PHP extension is required. You'll need to enable it or ask your hosting provider to do it for you to continue the installation"我正在尝试安装一个脚本,它给了我这个错误: “需要 Fileinfo PHP 扩展这个 PHP 扩展是必需的。您需要启用它或要求您的托管服务提供商执行此操作以继续安装”

Anyone know how i can do this from cpanel?有谁知道我如何从 cpanel 做到这一点? Would appreciate it a lot.会很感激。

this solved my problem when installing a CMS 这解决了安装CMS时的问题

https://youtu.be/tc44AOX-n0c https://youtu.be/tc44AOX-n0c

PHP extensions are generally not possible to enable from CPanel or similar software. 通常无法从CPanel或类似软件启用PHP扩展。 You would actually need to contact your hosting provider to do that, as it requires editing of system files ( php.ini , for one, but since this is a PECL extension they would actually need to install it for you in the first place). 实际上,您实际上需要联系托管服务提供商,因为它需要编辑系统文件(例如php.ini ,但是由于这是PECL扩展名,因此实际上他们实际上需要首先为您安装它)。 However, don't get your hopes up -- shared hosting providers will generally not accomodate such requests, especially if you happen to be using free hosting. 但是,请不要抱太大希望-共享主机提供商通常不会适应此类请求,尤其是当您碰巧正在使用免费主机时。 You can try, but it's very likely they'll just tell you they won't do it. 您可以尝试,但是很有可能他们会告诉您他们不会这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM