News:如果有问题或者友链请加QQ:36516475

kangle-php7.0-7.2安装苹果cmsv10缺少fileinfo解决办法

独立账号 1017 2 条

首先要安装PHP5.2-7.3

wget http://github.itzmx.com/1265578519/kangle/master/php/5.2/5217/completed/tpl_php5217.sh -O tpl_php5217.sh;sh tpl_php5217.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/5.4/5445/completed/tpl_php5445.sh -O tpl_php5445.sh;sh tpl_php5445.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/5.5/5538/completed/tpl_php5538.sh -O tpl_php5538.sh;sh tpl_php5538.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/5.6/5639/completed/tpl_php5639.sh -O tpl_php5639.sh;sh tpl_php5639.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/7.0/7033/completed/tpl_php7033.sh -O tpl_php7033.sh;sh tpl_php7033.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/7.1/7125/completed/tpl_php7125.sh -O tpl_php7125.sh;sh tpl_php7125.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/7.2/7213/completed/tpl_php7213.sh -O tpl_php7213.sh;sh tpl_php7213.sh
wget http://github.itzmx.com/1265578519/kangle/master/php/7.3/730/completed/tpl_php730.sh -O tpl_php730.sh;sh tpl_php730.sh

重启下kangle

然后上传安装苹果cmsv10,安装看看是不是缺少fileinfo,如果是继续往下看

使用ftp:
ext.zip

下载ext上传到(7.0-7.2都上传一份,7.3未测试)

/vhs/kangle/ext/tpl_php7025/

然后在ssh输入代码:

cd tpl_php7025/ext/fileinfo
/vhs/kangle/ext/tpl_php7025/bin/phpize
./configure --with-php-config=/vhs/kangle/ext/tpl_php7025/bin/php-config
make -j 4
make install

记住这里的php7025改成你的php名字,7.0默认及时7025,,7.1是7111,在运行7.1的时候就改成7111根据你php后面的数字改动

然后返回信息

Installing shared extensions: /vhs/kangle/ext/tpl_php7025/lib/php/extensions/no-debug-non-zts-20151012/

然后修改php7025下php-templete.ini文件

在底部添加

extension = "/vhs/kangle/ext/tpl_php7025/lib/php/extensions/no-debug-non-zts-20151012/fileinfo.so"

然后保存重启kangle就可以了。

7.0-7.2都得安装上面修改执行一遍。。有不明白的留言

与本文相关的文章

网友最新评论( 2 )

  1. 你这个教程用于php5.6行不行呢?

    小白March 14th, 2019
发表我的评论

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址