首先要安装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都得安装上面修改执行一遍。。有不明白的留言

最后修改:2019 年 03 月 01 日
如果觉得我的文章对你有用,请随意赞赏