Install fileinfo php extension

前端 未结 4 1770
天涯浪人
天涯浪人 2021-01-12 22:10

As the fileinfo is moved from PECL to PHP. What is the best way to install it through WHM or putty.?

I tried following command:

pecl install fileinfo
<         


        
4条回答
  •  感动是毒
    2021-01-12 22:35

    This extension is enabled by default as of PHP 5.3.0. Before this time, fileinfo was a PECL extension but is no longer maintained there. However, versions prior to 5.3+ may use the » discontinued PECL extension.

    Reference:

    http://www.php.net/manual/en/fileinfo.installation.php


    ERROR: `phpize' failed
    

    This error is displayed because you don't have php-devel package installed

提交回复
热议问题