Install fileinfo php extension

前端 未结 4 1742
天涯浪人
天涯浪人 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:54

    Are you install php-devel?
    phpize execute need's php-devel package. if you are on centos run the following code

    yum install php-devel
    

提交回复
热议问题