Centos7系统上如何配置php7以支持zip模块扩展?
- 内容介绍
- 文章标签
- 相关推荐
本文共计524个文字,预计阅读时间需要3分钟。
本章节为家庭用户介绍如何在CentOS7下安装php7并扩展zip模块。以下是一定要参考的步骤,以及可能需要的帮助:
安装步骤:
1.使用命令 `yum install -y php-devel` 安装php开发包。
如有需要,请参考以下资源:
- CentOS官方文档:[CentOS官方文档](https://www.centos.org/docs/)- PHP官方文档:[PHP官方文档](https://www.php.net/manual/zh/installation.php)希望对您有所帮助!
本篇文章给大家介绍一下Centos7下php7安装zip扩展的方法。有一定的参考价值,有需要的朋友可以参考一下,希望对大家有所帮助。安装:
yum install -y php-devel #用于编译 cd /usr/local/src wget pecl.php.net/get/zip-1.15.3.tgz tar -zxvf zip-1.15.3.tgz cd zip-1.15.3 phpize whereis php-config ./configure --with-php-config=/usr/bin/php-config
报错:configure: error: Please reinstall the libzip distribution。
最新版本请参考官网:nih.at/libzip/ ,libzip 需要 cmake 。
本文共计524个文字,预计阅读时间需要3分钟。
本章节为家庭用户介绍如何在CentOS7下安装php7并扩展zip模块。以下是一定要参考的步骤,以及可能需要的帮助:
安装步骤:
1.使用命令 `yum install -y php-devel` 安装php开发包。
如有需要,请参考以下资源:
- CentOS官方文档:[CentOS官方文档](https://www.centos.org/docs/)- PHP官方文档:[PHP官方文档](https://www.php.net/manual/zh/installation.php)希望对您有所帮助!
本篇文章给大家介绍一下Centos7下php7安装zip扩展的方法。有一定的参考价值,有需要的朋友可以参考一下,希望对大家有所帮助。安装:
yum install -y php-devel #用于编译 cd /usr/local/src wget pecl.php.net/get/zip-1.15.3.tgz tar -zxvf zip-1.15.3.tgz cd zip-1.15.3 phpize whereis php-config ./configure --with-php-config=/usr/bin/php-config
报错:configure: error: Please reinstall the libzip distribution。
最新版本请参考官网:nih.at/libzip/ ,libzip 需要 cmake 。

